Summary
In this chapter, you learned about IP sockets and how hosts use ports to make a connection to a server. You learned that a socket is a combination of an IP address and the port and that it must be unique on the host. We then covered each networking type provided by Docker and use cases for each one, as well as when to use the default bridge network, a custom bridge network, host network, or no networking. Finally, you learned how to expose containers to external users.
In the next chapter, we'll begin to explore Kubernetes by exploring the Kubernetes cluster, looking at its control plane, understanding the differences between a kublet
and an API, learning how the worker node functions, and reviewing over 25 Kubernetes objects.