Skip to content

Commit

Permalink
added --network host to workshop image run command
Browse files Browse the repository at this point in the history
--network host is needed in play-with-docker to have exposed port be available from outside the host (through it) and the link be exposed in the play-with-docker gui
...that was the issue because the speaker was not able to reach the launched services in play-with-docker during the 3/12 dockercon eu 18 workshop
  • Loading branch information
segaura authored Dec 3, 2018
1 parent 515d2cd commit e458648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/exercise_1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Login Succeeded
We prepared an image containing everything needed for the workshop (docker CLI, docker-compose, docker-app, swarm, ...) and your prefered editors (nano, emacs, even vi!). Please run it, everything will happen in this container.
```sh
$ docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v /root/workshop:/workshop dapworkshop/workshop
$ docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v /root/workshop:/workshop --network host dapworkshop/workshop
Unable to find image 'dapworkshop/workshop:latest' locally
latest: Pulling from dapworkshop/workshop
32802c0cfa4d: Pull complete
Expand Down

0 comments on commit e458648

Please sign in to comment.