Update 02_our_app.md

The `-d` flag is (short for `--detach`)
This commit is contained in:
Chris Klanac 2023-06-27 16:01:03 -04:00 committed by GitHub
parent 2063af1117
commit 50ea31a03d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ Now that you have an image, you can run the application in a [container](../get-
$ docker run -dp 127.0.0.1:3000:3000 getting-started
```
The `-d` flag (short for `--detached`) runs the container in the background.
The `-d` flag (short for `--detach`) runs the container in the background.
The `-p` flag (short for `--publish`) creates a port mapping between the host and the container.
The `-p` flag take a string value in the format of `HOST:CONTAINER`,
where `HOST` is the address on the host, and `CONTAINER` is the port on the container.