With organizations moving towards DevOps, Docker has started to gain popularity as well. Docker allows for packaging an application with all of its dependencies into a standardized unit for software development. And if that unit runs on your local machine, we can guarantee that it will run exactly the same way, anywhere from QA, to staging, and to production environments. With the knowledge of the concepts covered in this chapter, we will be able to write Docker images and deploy Docker containers with ease.
In this chapter, we will learn how to create a Docker image and Docker containers to deploy a simple Go web application, following which we will be looking at how we can save the container to an image and push it to the Docker registry, along with some basic concepts of Docker networking.
As we are going to work with Docker, I assume it's installed and running...