Quick Guide to Docker Container Deployment
The above title is meant to be a brief guide to pick up/revise the deployment of docker containers. It is suitable for those who are new to docker or developers who occasionally are entrusted with the responsibilities to deploy the team’s work to test/production environment.
I. Quick Intro to Docker
a. History of Docker
Before Docker, we have virtual machines (VMs) that host its own Operating System (OS) to provide an isolated and emulated environments, i.e. your host OS will house one or more Guest OS(s).
VMs are a double edge sword. On the upside, having multiple OS allows you to host different OSs in the same machine/PC. The downside is that it consumed significant resources.
Hence, the need for a more lightweight portable solution spurn the creation of docker! Instead of emulating multiple OS in a PC, we have docker container for each app.