docker-compose may not properly support the depends-on keyword leading to errors, while the newer docker <space> compose subcommand does support it and is using the more up to date syntax/docker built in

anthonyp-cns 2023-01-24 11:18:01 -05:00
parent 4d6eeda6c1
commit 1ac732d370

@ -67,10 +67,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.
@ -95,10 +95,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 up
```
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!