Introduction to Containers and Docker
Explore the basics of containers and Docker, understanding how they offer lightweight OS-level virtualization for packaging Go command-line programs. Learn about Docker's namespaces and how to build statically linked Go executables suitable for containerization, preparing you to package Go applications efficiently in the next lesson.
We'll cover the following...
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 ...