Update 02_our_app.md

add 'useful' missing info about detached mode
This commit is contained in:
Shariq Ahmed Khan 2024-12-14 09:15:47 +01:00 committed by GitHub
parent b8aaf24f2c
commit ac47c3f3fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ Now that you have an image, you can run the application in a container using the
The `-d` flag (short for `--detach`) runs the container in the background.
This means that Docker starts your container and returns you to the terminal
prompt.
prompt. Also, it does not display logs in the terminal.
The `-p` flag (short for `--publish`) creates a port mapping between the
host and the container. The `-p` flag takes a string value in the format of