mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-08 15:54:44 +02:00
Specify how to stop containers with/without daemon flag
@ -71,8 +71,7 @@ The whole application will be available after a few minutes (check with `docker
|
||||
Open the URL `http://0.0.0.0:8000/` in a web-browser.
|
||||
You should see the NetBox homepage.
|
||||
|
||||
To create the first admin user run this command:
|
||||
|
||||
To create the first admin user run this command in a separate terminal:
|
||||
```bash
|
||||
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
|
||||
```
|
||||
@ -82,7 +81,9 @@ docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
|
||||
|
||||
## Shutdown
|
||||
|
||||
If you want to just stop NetBox to continue work later on, use the following command.
|
||||
To stop NetBox press <kbd>Ctrl</kbd>+<kbd>C</kbd> in the same terminal that you ran `docker compose up` in.
|
||||
|
||||
If you started the container with `docker compose up -d` then use the following command to stop the container:
|
||||
|
||||
```bash
|
||||
# Stop all the containers
|
||||
|
Reference in New Issue
Block a user