March 2017
Beginner to intermediate
925 pages
18h 11m
English
With containerization, we would like to create our stack by running services on different containers and then linking them together. In the previous chapter, we created a WordPress container by putting both a web server and database in the same container. However, we can also put them in different containers and link them together. Container linking creates a parent-child relationship between them, in which the parent can see selected information of its children. Linking relies on the naming of containers.
Make sure the Docker daemon is running on the host and you can connect through the Docker client.
centos_server:$ docker run -d -i -t --name centos_server ...Read now
Unlock full access