August 2018
Intermediate to advanced
352 pages
12h 30m
English
When containers share the network namespace, the original container that created the namespace must be in a running state until the other containers are running. If the original container is stopped before the other containers, it will put the other containers in an unusable state, as shown in the following code:

Containers in a Kubernetes (http://kubernetes.io/) pod use this trick to share the IP address between the containers in a pod. We will revisit this in Chapter 8, Docker Orchestration and Hosting Platform.
Read now
Unlock full access