mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-09 00:04:46 +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.
|
Open the URL `http://0.0.0.0:8000/` in a web-browser.
|
||||||
You should see the NetBox homepage.
|
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
|
```bash
|
||||||
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
|
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
|
## 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
|
```bash
|
||||||
# Stop all the containers
|
# Stop all the containers
|
||||||
|
Reference in New Issue
Block a user