Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
About Me
MD. Al-Amin Talukdar
3+ year experience in IT
DevOps Engineer
RHCSA, RHCE
Old Way
Virtualization
Container Based Virtualization
Container vs VM
Container vs VM
• Containers are more lightweight.
• No need to install guest OS.
• Less CPU, RAM, Storage needed.
• More ...
What is Docker?
Docker is a platform for developing, shipping & running
application using container based virtualization
t...
How Docker Works
Components of Docker
• Docker File
• Docker Images
• Docker Engine
• Docker Container
• Docker Hub
• Docker Machine
• Dock...
Docker Image
• A Docker image is a binary that includes all of the
requirements for running a single Docker container, as
...
Docker File
• A Dockerfile is a text document that contains all the
commands a user could call on the command line to
asse...
Docker Container
• Images are read only containers used to create
containers.
• Built by you or other Docker Users.
• Stor...
Docker Engine
• Docker Engine is the program that enables containers
to build shipped & run.
• Docker Engine uses Linux Ke...
Installing Docker & Running Hello World
Install docker with command
# curl -sSL https://get.docker.com/ | sh
Run the hello...
Registry & Repository
• Where we store our image is known as registry
• You can use your own registry or docker's public r...
Docker Hub
• Docker hub is the public registry that contains large amount
of images available for your use.
• Official Rep...
Intro to Images
1. Go to https://hub.docker.com/ and sign up for an account.
2. Find your confirmation email and active yo...
Docker Orchestration
Three tools for orchestrating distributed applications with docker
• Docker Machine
Tool that provide...
Benefits of using Docker
- Separation of Concerns
Life becomes easier for System admin
- Fast deployment cycle
- Applicati...
Docker Networking
• Containers can talk to each other without having to expose ports
to host.
• Essential for micro servic...
Quick Security Consideration
• Docker demon needs to run as root.
• Ensure that, only trusted can control Docker Demon.
• ...
Docker In Production
- Private Registry
- Docker Swarm
- Docker Cloud
- AWS ECS
- Apache Mesos
- Google Cloud
- DC/OS
Introduction to container based virtualization with docker
Introduction to container based virtualization with docker
Introduction to container based virtualization with docker
You’ve finished this document.
Download and read it offline.
Upcoming SlideShare
What to Upload to SlideShare
Next
Upcoming SlideShare
What to Upload to SlideShare
Next
Download to read offline and view in fullscreen.

2

Share

Introduction to container based virtualization with docker

Download to read offline

Introduction to container based virtualization with docker

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Introduction to container based virtualization with docker

  1. 1. About Me MD. Al-Amin Talukdar 3+ year experience in IT DevOps Engineer RHCSA, RHCE
  2. 2. Old Way
  3. 3. Virtualization
  4. 4. Container Based Virtualization
  5. 5. Container vs VM
  6. 6. Container vs VM • Containers are more lightweight. • No need to install guest OS. • Less CPU, RAM, Storage needed. • More containers per machine than VM. • Greater Graterility.
  7. 7. What is Docker? Docker is a platform for developing, shipping & running application using container based virtualization technology.
  8. 8. How Docker Works
  9. 9. Components of Docker • Docker File • Docker Images • Docker Engine • Docker Container • Docker Hub • Docker Machine • Docker Swam • Docker Compose • Kitematic
  10. 10. Docker Image • A Docker image is a binary that includes all of the requirements for running a single Docker container, as well as metadata describing its needs and capabilities.
  11. 11. Docker File • A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. Using docker build users can create an automated build that executes several command-line instructions in succession. • Dockerfile is used for automation of work by specifying all step that we want on docker image.
  12. 12. Docker Container • Images are read only containers used to create containers. • Built by you or other Docker Users. • Stored in docker hub or your local repository
  13. 13. Docker Engine • Docker Engine is the program that enables containers to build shipped & run. • Docker Engine uses Linux Kernel namespace & control group. • Namespace gives us the isolated workspace.
  14. 14. Installing Docker & Running Hello World Install docker with command # curl -sSL https://get.docker.com/ | sh Run the hello world container to test your installation # sudo docker run hello-world *Installation instruction areavailable at https://docs.docker.com/engine/installation/
  15. 15. Registry & Repository • Where we store our image is known as registry • You can use your own registry or docker's public registry. Known as Docker Hub
  16. 16. Docker Hub • Docker hub is the public registry that contains large amount of images available for your use. • Official Repositories are available at https://hub.docker.com/explore/
  17. 17. Intro to Images 1. Go to https://hub.docker.com/ and sign up for an account. 2. Find your confirmation email and active your account. 3. Explore images from docker hub. 4. Understanding official Images, Tags 5. Search images on docker hub.
  18. 18. Docker Orchestration Three tools for orchestrating distributed applications with docker • Docker Machine Tool that provides Docker Hosts and install the Docker Engine on them. • Docker Swarm Tool that clusters many Engines and schedules containers. • Docker Compose Tool to create and manage multi-container application.
  19. 19. Benefits of using Docker - Separation of Concerns Life becomes easier for System admin - Fast deployment cycle - Application portability Build in one environment, Ship anywhere. - Scalability Easy sign up new containers if needed. - Run more apps on host machine
  20. 20. Docker Networking • Containers can talk to each other without having to expose ports to host. • Essential for micro service application architecture. • Example: -Container with Tomcat running -Container with MySQL running -Application on tomcat needs to connect to MySQL
  21. 21. Quick Security Consideration • Docker demon needs to run as root. • Ensure that, only trusted can control Docker Demon. • If binding the demon to a TCP socket, secure it with TLS • Use linux hardening solutions - SELinux - GRSEC
  22. 22. Docker In Production - Private Registry - Docker Swarm - Docker Cloud - AWS ECS - Apache Mesos - Google Cloud - DC/OS
  • ChenZening

    May. 19, 2019
  • AshifaTB

    Aug. 4, 2018

Introduction to container based virtualization with docker

Views

Total views

2,566

On Slideshare

0

From embeds

0

Number of embeds

3

Actions

Downloads

231

Shares

0

Comments

0

Likes

2

×