7
7
![ Docker Pulls] ( https://img.shields.io/docker/pulls/netboxcommunity/netbox )
8
8
[ ![ GitHub license] ( https://img.shields.io/github/license/netbox-community/netbox-docker )] [ netbox-docker-license ]
9
9
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 ] .
12
12
13
13
Do you have any questions?
14
14
Before 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.
16
16
17
17
[ github-stargazers ] : https://github.com/netbox-community/netbox-docker/stargazers
18
18
[ github-release ] : https://github.com/netbox-community/netbox-docker/releases
19
19
[ netbox-docker-microbadger ] : https://microbadger.com/images/netboxcommunity/netbox
20
20
[ 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/
21
23
[ netbox-docker-github ] : https://github.com/netbox-community/netbox-docker/
22
24
[ netbox-docker-slack ] : https://join.slack.com/t/netdev-community/shared_invite/zt-mtts8g0n-Sm6Wutn62q_M4OdsaIycrQ
23
25
[ netbox-docker-slack-channel ] : https://netdev-community.slack.com/archives/C01P0GEVBU7
24
26
[ netbox-slack-channel ] : https://netdev-community.slack.com/archives/C01P0FRSXRV
25
27
[ 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
47
28
48
29
## Quickstart
49
30
50
- To get NetBox Docker up and running run the following commands.
31
+ To get _ NetBox Docker _ up and running run the following commands.
51
32
There is a more complete [ _ Getting Started_ guide on our wiki] [ wiki-getting-started ] which explains every step.
52
33
53
34
``` bash
@@ -77,10 +58,59 @@ The default credentials are:
77
58
[ wiki-getting-started ] : https://github.com/netbox-community/netbox-docker/wiki/Getting-Started
78
59
[ docker-reception ] : https://github.com/nxt-engineering/reception
79
60
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
+
80
107
## Documentation
81
108
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.
84
114
85
115
[ netbox-docker-wiki ] : https://github.com/netbox-community/netbox-docker/wiki/
86
116
@@ -104,22 +134,19 @@ This project relies only on *Docker* and *docker-compose* meeting these requirem
104
134
105
135
To check the version installed on your system run ` docker --version ` and ` docker-compose --version ` .
106
136
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
115
138
116
139
Please 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 ] .
117
143
118
144
[ releases ] : https://github.com/netbox-community/netbox-docker/releases
145
+ [ netbox-docker-wiki-updating ] : https://github.com/netbox-community/netbox-docker/wiki/Updating
119
146
120
147
## Rebuilding the Image
121
148
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.
123
150
124
151
For more details on custom builds [ consult our wiki] [ netbox-docker-wiki-build ] .
125
152
0 commit comments