From 4b927b0e646fd41393dc3ee01b6e0041bed8ef10 Mon Sep 17 00:00:00 2001 From: Craig Osterhout <103533812+craig-osterhout@users.noreply.github.com> Date: Tue, 8 Nov 2022 12:42:53 -0800 Subject: [PATCH] fix typo (#16120) --- language/dotnet/run-containers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/dotnet/run-containers.md b/language/dotnet/run-containers.md index ee3a98b442..067aa20c04 100644 --- a/language/dotnet/run-containers.md +++ b/language/dotnet/run-containers.md @@ -30,7 +30,7 @@ As you'll see, the connection to our server was refused. This means, we were not To stop the container, press Ctrl-C. This will return you to the terminal prompt. -To publish a port for our container, we’ll use the `--publish` flag (`-p` for short) on the `docker run` command. The format of the `--publish` command is `[host port]:[container port]`. So, if we wanted to expose port 80 inside the container to port 5050 outside the container, we would pass `5000:80` to the `--publish` flag. Run the container using the following command: +To publish a port for our container, we’ll use the `--publish` flag (`-p` for short) on the `docker run` command. The format of the `--publish` command is `[host port]:[container port]`. So, if we wanted to expose port 80 inside the container to port 5000 outside the container, we would pass `5000:80` to the `--publish` flag. Run the container using the following command: ```console $ docker run --publish 5000:80 dotnet-docker