Browse Source

add on

master
zeus 4 years ago
parent
commit
4c1316187a
  1. 7
      README.md

7
README.md

@ -95,10 +95,17 @@ https://cli.vuejs.org/guide/creating-a-project.html#vue-create
``` ```
```bash ```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 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 :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. Using the -p (lower case) flag at runtime lets you publish a container’s specific port(s) to the Docker host.

Loading…
Cancel
Save