From 6fc21f8690edd77dc8daac5f528971cc9824a602 Mon Sep 17 00:00:00 2001 From: Carl Sargunar Date: Thu, 7 Apr 2022 14:44:02 +0100 Subject: [PATCH] Added additional info --- docs/tutorial/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/tutorial/index.md b/docs/tutorial/index.md index d2aff6e..3312f43 100644 --- a/docs/tutorial/index.md +++ b/docs/tutorial/index.md @@ -18,6 +18,16 @@ You'll notice a few flags being used. Here's some more info on them: - `-p 9080:80` - map port 9080 of the host to port 80 in the container - `docker/getting-started` - the image to use +!!! info "Deep Dive" + One thing you may come across if you already have development environments + set-up is that yoiu may be using ports already. By using port 9080 there's a + good chance nothing will conflict. If you have port 9080 used by something + you can change that port number by changing the -p. E.g. to use port 9999 + ``` + docker run -d -p 9999:80 docker/getting-started + ``` + + !!! info "Pro tip" You can combine single character flags to shorten the full command. As an example, the command above could be written as: