From 945e7879f3197a312693fd85e13dbab9fed0ed5b Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 8 Mar 2021 19:04:58 +0200 Subject: [PATCH] add on --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e076b50..e47d90e 100644 --- a/README.md +++ b/README.md @@ -94,10 +94,12 @@ https://cli.vuejs.org/guide/creating-a-project.html#vue-create http://localhost:8080 ``` -```bash - :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. + + +```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 @@ -113,5 +115,3 @@ docker exec -it -udocker -p 8080:8080 hybrid-nodevuejs_master_1 /bin/bash -Using the -p (lower case) flag at runtime lets you publish a container’s specific port(s) to the Docker host. -