From 4c1316187a099e725de512d4da5253b078390391 Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 8 Mar 2021 18:59:33 +0200 Subject: [PATCH] add on --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index e262d32..014e635 100644 --- a/README.md +++ b/README.md @@ -95,10 +95,17 @@ https://cli.vuejs.org/guide/creating-a-project.html#vue-create ``` ```bash + +docker exec -it -udocker -p [host-port]:[expose-port*] hybrid-nodevuejs_master_1 /bin/bash +e.g. docker exec -it -udocker -p 8080:8080 hybrid-nodevuejs_master_1 /bin/bash ^^^^^^^^^^^ ``` +* this is the port found in the container menu. + +__We would expect the port number do be next to the "Ports" field.__ + :warning: Publishing Docker ports via -p Using the -p (lower case) flag at runtime lets you publish a container’s specific port(s) to the Docker host.