Browse Source

add on

master
zeus 3 years ago
parent
commit
e1b98e0934
  1. 5
      README.md

5
README.md

@ -96,6 +96,8 @@ https://cli.vuejs.org/guide/creating-a-project.html#vue-create
```bash
:warning: Publishing Docker ports via -p
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
@ -103,14 +105,13 @@ docker exec -it -udocker -p 8080:8080 hybrid-nodevuejs_master_1 /bin/bash
```
>
> * this is the port found in the container menu.
> (*) 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.

Loading…
Cancel
Save