mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-22 07:53:46 +01:00
Missing hyphen in docker-compose command; Restart of compose-managed containers can be done just with 'start' instead of 'up'.
parent
939fba87ec
commit
e8f3171216
@ -58,10 +58,10 @@ To get NetBox Docker up-and-running, here are the two final steps:
|
||||
|
||||
```bash
|
||||
# (4)
|
||||
docker compose pull
|
||||
docker-compose pull
|
||||
|
||||
# (5)
|
||||
docker compose up
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
You will see a lot of output on your screen.
|
||||
@ -74,7 +74,7 @@ You should see the NetBox homepage.
|
||||
To create the first admin user run this command:
|
||||
|
||||
```bash
|
||||
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
|
||||
docker-compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
|
||||
```
|
||||
|
||||
[netbox-docker]: https://github.com/netbox-community/netbox-docker
|
||||
@ -86,10 +86,10 @@ If you want to just stop NetBox to continue work later on, use the following com
|
||||
|
||||
```bash
|
||||
# Stop all the containers
|
||||
docker compose stop
|
||||
docker-compose stop
|
||||
|
||||
# Start the containers again
|
||||
docker compose up
|
||||
docker-compose start
|
||||
```
|
||||
|
||||
If you want to stop NetBox and clean up any resources it allocated (database, files, etc.), use the following command. **Attention:** It will remove any data you have entered in NetBox!
|
||||
|
Loading…
Reference in New Issue
Block a user