77![ Docker Pulls] ( https://img.shields.io/docker/pulls/netboxcommunity/netbox )
88[ ![ GitHub license] ( https://img.shields.io/github/license/netbox-community/netbox-docker )] [ netbox-docker-license ]
99
10- [ The Github repository] ( netbox-docker-github ) houses the components needed to build NetBox as a Docker container.
11- Images are built using this code and are released to [ Docker Hub] [ netbox-dockerhub ] and [ Quay.io] [ netbox-quayio ] once a day .
10+ [ The Github repository] ( netbox-docker-github ) houses the components needed to build NetBox as a container.
11+ Images are built regularly using the code in that repository and are pushed to [ Docker Hub] [ netbox-dockerhub ] , [ Quay.io] [ netbox-quayio ] and [ GitHub Container Registry ] [ netbox-ghcr ] .
1212
1313Do you have any questions?
1414Before opening an issue on Github,
15- please join the [ our Slack] [ netbox-docker-slack ] and ask for help in the [ ` #netbox-docker ` ] [ netbox-docker-slack-channel ] channel.
15+ please join [ our Slack] [ netbox-docker-slack ] and ask for help in the [ ` #netbox-docker ` ] [ netbox-docker-slack-channel ] channel.
1616
1717[ github-stargazers ] : https://github.com/netbox-community/netbox-docker/stargazers
1818[ github-release ] : https://github.com/netbox-community/netbox-docker/releases
1919[ netbox-docker-microbadger ] : https://microbadger.com/images/netboxcommunity/netbox
2020[ netbox-dockerhub ] : https://hub.docker.com/r/netboxcommunity/netbox/
21+ [ netbox-quayio ] : https://quay.io/repository/netboxcommunity/netbox
22+ [ netbox-ghcr ] : https://ghcr.io/netbox-community/netbox/
2123[ netbox-docker-github ] : https://github.com/netbox-community/netbox-docker/
2224[ netbox-docker-slack ] : https://join.slack.com/t/netdev-community/shared_invite/zt-mtts8g0n-Sm6Wutn62q_M4OdsaIycrQ
2325[ netbox-docker-slack-channel ] : https://netdev-community.slack.com/archives/C01P0GEVBU7
2426[ netbox-slack-channel ] : https://netdev-community.slack.com/archives/C01P0FRSXRV
2527[ netbox-docker-license ] : https://github.com/netbox-community/netbox-docker/blob/release/LICENSE
26- [ netbox-quayio ] : https://quay.io/repository/netboxcommunity/netbox
27-
28- ## Docker Tags
29-
30- * ` vX.Y.Z ` : These are release builds, automatically built from [ the corresponding releases of NetBox] [ netbox-releases ] .
31- * ` latest ` : These are release builds, automatically built from [ the ` master ` branch of NetBox] [ netbox-master ] .
32- * ` snapshot ` : These are pre-release builds, automatically built from the [ ` develop ` branch of NetBox] [ netbox-develop ] .
33- * ` develop-X.Y ` : These are pre-release builds, automatically built from the corresponding [ branch of NetBox] [ netbox-branches ] .
34-
35- Then there is currently one extra tags for each of the above tags:
36-
37- * ` -ldap ` : Contains additional dependencies and configurations for connecting NetBox to an LDAP directory.
38- [ Learn more about that in our wiki] [ netbox-docker-ldap ] .
39-
40- New images are built and published automatically every ~ 24h.
41-
42- [ netbox-releases ] : https://github.com/netbox-community/netbox/releases
43- [ netbox-master ] : https://github.com/netbox-community/netbox/tree/master
44- [ netbox-develop ] : https://github.com/netbox-community/netbox/tree/develop
45- [ netbox-branches ] : https://github.com/netbox-community/netbox/branches
46- [ netbox-docker-ldap ] : https://github.com/netbox-community/netbox-docker/wiki/LDAP
4728
4829## Quickstart
4930
50- To get NetBox Docker up and running run the following commands.
31+ To get _ NetBox Docker _ up and running run the following commands.
5132There is a more complete [ _ Getting Started_ guide on our wiki] [ wiki-getting-started ] which explains every step.
5233
5334``` bash
@@ -77,10 +58,59 @@ The default credentials are:
7758[ wiki-getting-started ] : https://github.com/netbox-community/netbox-docker/wiki/Getting-Started
7859[ docker-reception ] : https://github.com/nxt-engineering/reception
7960
61+ ## Container Image Tags
62+
63+ New container images are built and published automatically every ~ 24h.
64+
65+ > We recommend to use either the ` vX.Y.Z-a.b.c ` tags or the ` vX.Y-a.b.c ` tags in production!
66+
67+ * ` vX.Y.Z-a.b.c ` , ` vX.Y-a.b.c ` :
68+ These are release builds containing _ NetBox version_ ` vX.Y.Z ` .
69+ They contain the support files of _ NetBox Docker version_ ` a.b.c ` .
70+ You must use _ NetBox Docker version_ ` a.b.c ` to guarantee the compatibility.
71+ These images are automatically built from [ the corresponding releases of NetBox] [ netbox-releases ] .
72+ * ` latest-a.b.c ` :
73+ These are release builds, containing the latest stable version of NetBox.
74+ They contain the support files of _ NetBox Docker version_ ` a.b.c ` .
75+ You must use _ NetBox Docker version_ ` a.b.c ` to guarantee the compatibility.
76+ These images are automatically built from [ the ` master ` branch of NetBox] [ netbox-master ] .
77+ * ` snapshot-a.b.c ` :
78+ These are pre-release builds.
79+ They contain the support files of _ NetBox Docker version_ ` a.b.c ` .
80+ You must use _ NetBox Docker version_ ` a.b.c ` to guarantee the compatibility.
81+ These images are automatically built from the [ ` develop ` branch of NetBox] [ netbox-develop ] .
82+
83+ For each of the above tag, there is an extra tag:
84+
85+ * ` vX.Y.Z ` , ` vX.Y ` :
86+ This is the same version as ` vX.Y.Z-a.b.c ` (or ` vX.Y-a.b.c ` , respectively).
87+ It always points to the latest version of _ NetBox Docker_ .
88+ * ` latest `
89+ This is the same version as ` latest-a.b.c ` .
90+ It always points to the latest version of _ NetBox Docker_ .
91+ * ` snapshot `
92+ This is the same version as ` snapshot-a.b.c ` .
93+ It always points to the latest version of _ NetBox Docker_ .
94+
95+ Then there is currently one extra tags for each of the above tags:
96+
97+ * ` -ldap ` :
98+ These container images contain additional dependencies and configuration files for connecting NetBox to an LDAP directory.
99+ [ Learn more about that in our wiki] [ netbox-docker-ldap ] .
100+
101+ [ netbox-releases ] : https://github.com/netbox-community/netbox/releases
102+ [ netbox-master ] : https://github.com/netbox-community/netbox/tree/master
103+ [ netbox-develop ] : https://github.com/netbox-community/netbox/tree/develop
104+ [ netbox-branches ] : https://github.com/netbox-community/netbox/branches
105+ [ netbox-docker-ldap ] : https://github.com/netbox-community/netbox-docker/wiki/LDAP
106+
80107## Documentation
81108
82- Please refer [ to our wiki on Github] [ netbox-docker-wiki ] for further information on how to use this NetBox Docker image properly.
83- It covers advanced topics such as using files for secrets, deployment to Kubernetes, monitoring and configuring NAPALM or LDAP.
109+ Please refer [ to our wiki on Github] [ netbox-docker-wiki ] for further information on how to use the NetBox Docker image properly.
110+ The wiki covers advanced topics such as using files for secrets, configuring TLS, deployment to Kubernetes, monitoring and configuring NAPALM and LDAP.
111+
112+ Our wiki is a community effort.
113+ Feel free to correct errors, update outdated information or provide additional guides and insights.
84114
85115[ netbox-docker-wiki ] : https://github.com/netbox-community/netbox-docker/wiki/
86116
@@ -104,22 +134,19 @@ This project relies only on *Docker* and *docker-compose* meeting these requirem
104134
105135To check the version installed on your system run ` docker --version ` and ` docker-compose --version ` .
106136
107- ## Breaking Changes
108-
109- From time to time it might become necessary to re-engineer the structure of this setup.
110- Things like the ` docker-compose.yml ` file or your Kubernetes or OpenShift configurations have to be adjusted as a consequence.
111-
112- Since November 2019 each image built from this repo contains a ` org.opencontainers.image.version ` label.
113- (The images contained labels since April 2018, although in November 2019 the labels' names changed.)
114- You can check the label of your local image by running ` docker inspect netboxcommunity/netbox:v2.7.1 --format "{{json .Config.Labels}}" ` .
137+ ## Updating
115138
116139Please read [ the release notes] [ releases ] carefully when updating to a new image version.
140+ Note that the version of the NetBox Docker container image must stay in sync with the code.
141+
142+ If you update for the first time, be sure [ to follow our _ How To Update NetBox Docker_ guide in the wiki] [ netbox-docker-wiki-updating ] .
117143
118144[ releases ] : https://github.com/netbox-community/netbox-docker/releases
145+ [ netbox-docker-wiki-updating ] : https://github.com/netbox-community/netbox-docker/wiki/Updating
119146
120147## Rebuilding the Image
121148
122- ` ./build.sh ` can be used to rebuild the Docker image. See ` ./build.sh --help ` for more information.
149+ ` ./build.sh ` can be used to rebuild the container image. See ` ./build.sh --help ` for more information.
123150
124151For more details on custom builds [ consult our wiki] [ netbox-docker-wiki-build ] .
125152
0 commit comments