...

/

Introduction to Containers and Docker

Introduction to Containers and Docker

In this lesson, we'll discuss containers and Docker and why they are important. You'll learn how to create minimalist, standalone, statically-linked Go executables that we can easily package in lean Docker containers.

Overview

Containers have conquered the DevOps arena. Most modern large-scale systems, especially in the cloud, are deployed using containers. However, containers are very helpful for command-line programs too. The basic idea is that you can package your application with all its dependencies including the OS, in a container and then run it anywhere without worrying about the environment. For a program like multi-git we had to go through a lot of trouble to create cross-platform binaries and make it ...