You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
109
-
```
109
+
110
+
```bash
110
111
docker run --rm --privileged multiarch/qemu-user-static:register --reset
111
112
```
112
113
113
114
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
114
115
115
-
## Update the chagelog
116
+
## Update the changelog
116
117
117
118
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-netbox/tree/master/root), add an entry to the changelog
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
14
14
15
-
* regular and timely application updates
16
-
* easy user mappings (PGID, PUID)
17
-
* custom base image with s6 overlay
18
-
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
19
-
* regular security updates
15
+
* regular and timely application updates
16
+
* easy user mappings (PGID, PUID)
17
+
* custom base image with s6 overlay
18
+
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
19
+
* regular security updates
20
20
21
21
Find us at:
22
+
22
23
*[Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
23
24
*[Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
24
25
*[Discourse](https://discourse.linuxserver.io) - post on our community forum.
@@ -40,7 +41,6 @@ Find us at:
40
41
41
42
[Netbox](https://github.com/netbox-community/netbox) is an IP address management (IPAM) and data center infrastructure management (DCIM) tool. Initially conceived by the network engineering team at DigitalOcean, NetBox was developed specifically to address the needs of network and infrastructure engineers. It is intended to function as a domain-specific source of truth for network operations.
@@ -57,6 +57,9 @@ The architectures supported by this image are:
57
57
| arm64 | arm64v8-latest |
58
58
| armhf | arm32v7-latest |
59
59
60
+
## Application Setup
61
+
62
+
Access the WebUI at <your-ip>:8000. For more information, check out [NetBox](https://github.com/netbox-community/netbox).
60
63
61
64
## Usage
62
65
@@ -104,7 +107,7 @@ services:
104
107
105
108
### docker cli
106
109
107
-
```
110
+
```bash
108
111
docker run -d \
109
112
--name=netbox \
110
113
-e PUID=1000 \
@@ -134,7 +137,6 @@ docker run -d \
134
137
ghcr.io/linuxserver/netbox
135
138
```
136
139
137
-
138
140
## Parameters
139
141
140
142
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
@@ -171,7 +173,7 @@ You can set any environment variable from a file by using a special prepend `FIL
171
173
172
174
As an example:
173
175
174
-
```
176
+
```bash
175
177
-e FILE__PASSWORD=/run/secrets/mysecretpassword
176
178
```
177
179
@@ -190,24 +192,17 @@ Ensure any volume directories on the host are owned by the same user you specify
190
192
191
193
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
Access the WebUI at <your-ip>:8000. For more information, check out [NetBox](https://github.com/netbox-community/netbox).
203
-
204
-
205
200
## Docker Mods
201
+
206
202
[](https://mods.linuxserver.io/?mod=netbox"view available mods for this container.")[](https://mods.linuxserver.io/?mod=universal"view available universal mods.")
207
203
208
204
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
209
205
210
-
211
206
## Support Info
212
207
213
208
* Shell access whilst the container is running: `docker exec -it netbox /bin/bash`
@@ -224,38 +219,45 @@ Most of our images are static, versioned, and require an image update and contai
224
219
Below are the instructions for updating containers:
225
220
226
221
### Via Docker Compose
222
+
227
223
* Update all images: `docker-compose pull`
228
224
* or update a single image: `docker-compose pull netbox`
229
225
* Let compose update all containers as necessary: `docker-compose up -d`
230
226
* or update a single container: `docker-compose up -d netbox`
231
227
* You can also remove the old dangling images: `docker image prune`
232
228
233
229
### Via Docker Run
230
+
234
231
* Update the image: `docker pull ghcr.io/linuxserver/netbox`
235
232
* Stop the running container: `docker stop netbox`
236
233
* Delete the container: `docker rm netbox`
237
234
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
238
235
* You can also remove the old dangling images: `docker image prune`
239
236
240
237
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
238
+
241
239
* Pull the latest image at its tag and replace it with the same env variables in one run:
242
-
```
240
+
241
+
```bash
243
242
docker run --rm \
244
243
-v /var/run/docker.sock:/var/run/docker.sock \
245
244
containrrr/watchtower \
246
245
--run-once netbox
247
246
```
247
+
248
248
* You can also remove the old dangling images: `docker image prune`
249
249
250
250
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
254
255
255
256
## Building locally
256
257
257
258
If you want to make local modifications to these images for development purposes or just to customize the logic:
0 commit comments