Containers have become increasingly popular in cloud computing because they make it easier to distribute and spin up an application, regardless of its stage in the production lifecycle. This means you do not need to worry about using a virtual machine. Docker is one of the most widely used container solutions.
7. Isolated running process
Unlink virtual machines, share the operating system
on which they are running
Simplify building, shipping apps
Runs natively on Linux or Windows Server
Runs on Windows or Mac Development machines
(Docker CE)
What is a Docker
container?
#DockerDevBSF
9. Docker Image
Example: nginx Alpine with
Angular application code
Docker Container
Created by using an image. Runs your
application in a container.
The Role of Images and Containers
docker run
#DockerDevBSF
10. A read-only template composed of layered
filesystems used to share common files and create
Docker container instances.
Image
#DockerDevBSF
11. An isolated and secured shipping container created
from an image that can be run, started, stopped,
moved and deleted.
Container
#DockerDevBSF
15. Using Docker Multistage-Stage Builds
With that, you can have a
Node.js base image that
installs, builds and compiles
everything, and then, “discard”
all those Node.js specific
Docker image layers, and end
up with a Nginx image with
just your compiled code.