|
|
@ -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. |
|
|
|