Updated Getting Started (markdown)

kkthxbye 2023-07-28 21:59:03 +02:00
parent 2dd1536ffd
commit 1018ae95fe

@ -58,10 +58,10 @@ To get NetBox Docker up-and-running, here are the two final steps:
```bash ```bash
# (4) # (4)
docker-compose pull docker compose pull
# (5) # (5)
docker-compose up docker compose up
``` ```
You will see a lot of output on your screen. 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: To create the first admin user run this command:
```bash ```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 [netbox-docker]: https://github.com/netbox-community/netbox-docker
@ -86,14 +86,14 @@ If you want to just stop NetBox to continue work later on, use the following com
```bash ```bash
# Stop all the containers # Stop all the containers
docker-compose stop docker compose stop
# Start the containers again # Start the containers again
docker-compose start 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! 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!
```bash ```bash
docker-compose down -v docker compose down -v
``` ```