mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-08 11:06:39 +02:00
Updated Getting Started (markdown)
parent
2dd1536ffd
commit
1018ae95fe
@ -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,14 +86,14 @@ 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 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!
|
||||
|
||||
```bash
|
||||
docker-compose down -v
|
||||
docker compose down -v
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user