mirror of
https://github.com/linuxserver/docker-netbox.git
synced 2026-01-21 04:31:39 +08:00
Bot Updating Templated Files
This commit is contained in:
parent
9864605eb9
commit
f1edcca09f
13
README.md
13
README.md
@ -33,6 +33,7 @@ Find us at:
|
||||
[](https://github.com/linuxserver/docker-netbox/releases)
|
||||
[](https://github.com/linuxserver/docker-netbox/packages)
|
||||
[](https://gitlab.com/linuxserver.io/docker-netbox/container_registry)
|
||||
[](https://quay.io/repository/linuxserver.io/netbox)
|
||||
[](https://hub.docker.com/r/linuxserver/netbox)
|
||||
[](https://hub.docker.com/r/linuxserver/netbox)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-netbox/job/master/)
|
||||
@ -46,7 +47,7 @@ Find us at:
|
||||
|
||||
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||
|
||||
Simply pulling `ghcr.io/linuxserver/netbox` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
Simply pulling `lscr.io/linuxserver/netbox` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
|
||||
The architectures supported by this image are:
|
||||
|
||||
@ -73,7 +74,7 @@ Here are some example snippets to help you get started creating a container.
|
||||
version: "2.1"
|
||||
services:
|
||||
netbox:
|
||||
image: ghcr.io/linuxserver/netbox
|
||||
image: lscr.io/linuxserver/netbox
|
||||
container_name: netbox
|
||||
environment:
|
||||
- PUID=1000
|
||||
@ -137,7 +138,7 @@ docker run -d \
|
||||
-p 8000:8000 \
|
||||
-v <path to data on host>:/config \
|
||||
--restart unless-stopped \
|
||||
ghcr.io/linuxserver/netbox
|
||||
lscr.io/linuxserver/netbox
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@ -215,7 +216,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
|
||||
* container version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' netbox`
|
||||
* image version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver/netbox`
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/netbox`
|
||||
|
||||
## Updating Info
|
||||
|
||||
@ -233,7 +234,7 @@ Below are the instructions for updating containers:
|
||||
|
||||
### Via Docker Run
|
||||
|
||||
* Update the image: `docker pull ghcr.io/linuxserver/netbox`
|
||||
* Update the image: `docker pull lscr.io/linuxserver/netbox`
|
||||
* Stop the running container: `docker stop netbox`
|
||||
* Delete the container: `docker rm netbox`
|
||||
* 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)
|
||||
@ -268,7 +269,7 @@ cd docker-netbox
|
||||
docker build \
|
||||
--no-cache \
|
||||
--pull \
|
||||
-t ghcr.io/linuxserver/netbox:latest .
|
||||
-t lscr.io/linuxserver/netbox:latest .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user