Presentation for introduction docker container concept and beginner of docker swarm
Finally, I'll demo monitor project with prometheus and show lab for any step.
2. Pre-requirement
• Docker-CE and Docker-compose for windows 10
https://hub.docker.com/editions/community/docker-ce-desktop-
windows
• Editor
- Sublime
- vscode
- notepad
- ETC.
3. What is Docker?
• A container is a standard unit of
software that packages up code and
all its dependencies so the
application runs quickly and reliably
from one computing environment to
another.
• Lightweight
• Standard
• Secure
4. VM vs Container
• Virtual machines : Each VM includes a full
copy of an operating system, the application,
necessary binaries and libraries
• Container : Multiple containers can run on
the same machine and share the OS kernel
with other containers, each running as isolated
processes in user space.
5. Docker architecture
• Docker client : is used to trigger Docker
commands
• Docker host : runs the docker daemon and
manage objects
• Docker registry : highly scalable server-
side application that stores and lets you
distribute Docker images
• Docker object : docker images, containers,
networks, volumes, plugins etc are the docker
objects
6. Lab docker 101
• Go to link : https://github.com/StartloJ/lab_docker101.git >>
download this project.
15. Intro. Docker swarm
• Orchestration is often discussed in the
context of service-oriented
architecture, virtualization, provisioning, co
nverged infrastructure and dynamic
datacenter topics. Orchestration in this
sense is about aligning the business request
with the applications, data, and
infrastructure.
16. Docker swarm architecture
• Swarm is a group of machines that are
running dockers and joined into a cluster.
After that has happened, you continue to
run the dockers commands you’re used to,
but now they are executed on a cluster by
a swarm manager. The machines in a swarm
can be physical or virtual. After joining a
swarm, they are referred to as nodes.