mirror of https://github.com/docker/docs.git
Merge pull request #17632 from cklanac/patch-1
Fix small typo on "Containerize an application" in "Start an app container" section
This commit is contained in:
commit
b4fd05b2b9
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue