Introduction

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 ...

Get Go Web Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.