Chapter Summary
Summary of the concepts learned in this chapter.
In this chapter, we compared and contrasted the container and VM models. We looked at the OS tax problem inherent in the VM model and saw how the container model could bring huge advantages in much of the same way as the VM model brought huge advantages over the physical server model.
We saw how to use the docker container run
command to start a couple of simple containers, and we saw the difference between interactive containers in the foreground versus containers running in the background.
We know that killing the PID 1 process inside of a container will kill the container. And we’ve seen how to start, stop, and delete containers.
We finished the chapter using the docker container inspect
command to view detailed container metadata.
So far, so good!
Get hands-on with 1200+ tech skills courses.