From 50ea31a03d158ce12466422856930e4666451a3d Mon Sep 17 00:00:00 2001 From: Chris Klanac <1008777+cklanac@users.noreply.github.com> Date: Tue, 27 Jun 2023 16:01:03 -0400 Subject: [PATCH] Update 02_our_app.md The `-d` flag is (short for `--detach`) --- get-started/02_our_app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-started/02_our_app.md b/get-started/02_our_app.md index 32de1ba0e4..656ea2acc9 100644 --- a/get-started/02_our_app.md +++ b/get-started/02_our_app.md @@ -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.