Skip to content

Commit fce0645

Browse files
committed
Update README.md
1 parent 89f1a34 commit fce0645

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

05_Real-LifeExample/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ docker build .
1818
docker run -it -p 8080:8080 <image_id> # -p switch needed with boot2docker
1919
```
2020

21-
... And voila! Our Jenkins API is ready for the first requests at either http://<boot2docker_host>:8080 or at localhost:8080 (linux).
22-
Using OS X with boot2docker the -p (publish) flag is necessary, as we need to (p)ublish the container port to the lightweights VM interface to be accessable from our laptop.
21+
... And voila! Our Jenkins API is ready for the first requests at either http://<boot2docker_vm_ip>:8080 (boot2docker) or at http://localhost:8080 (linux) or at http://localdocker:8080 (docker-osx).
22+
Using OS X with boot2docker the -p (publish) flag is necessary, as we need to (p)ublish the containers port to the lightweights VM interface to be accessable from our laptop.
23+
24+
Docker container's network interfaces are bridges, same ones as you can setup with KVM/VMWare/VirtualBox machine. Packets are 'switched' over these interfaces - that give us warranty, that the TCP/IP stack communication with a container works exactly like between two virtual hosts.
2325

2426
As you can see from now - maintaining, moving your environment from one workstation to another haven't ever been so easy :smile:

0 commit comments

Comments
 (0)