From 81d4bd8ddc0c5d2753ce0eaa6e04aeae53ba8bf6 Mon Sep 17 00:00:00 2001 From: joshmcorreia <86431308+joshmcorreia@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:46:39 -0700 Subject: [PATCH] Specify how to stop containers with/without daemon flag --- Getting-Started.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Getting-Started.md b/Getting-Started.md index 729c07f..9ff13a3 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -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 Ctrl+C 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