Containerization -
DOCKER
Suresh Ramalingam
Containerization
DOCKER
Containerization - DOCKER
Topics :
1. Introduction to Containers
2. Containerization vs Virtualization
3. Advantages of Containers
4. Introduction to Docker
5. Docker Architecture
6. Docker Components
1.Introduction to Containers
Installing Software
Download Installer
This is what
Docker is trying
Run Installer to fix
Get an error message during
installation
Troubleshoot issue
Rerun Installer
Get another error !
Containerization- Docker
What is Containerization ( Container) ?
CONTAINER
App A Apps B App C
Bins/Libs Bins/Libs Bins/Libs
DOCKER
Host OS
Infrastructure
Containerization is lightweight Virtualization technology alternative to hypervisor virtualization.
Any application can be bundled in a container can run without any worries about dependencies, libraries.
Because container creates the isolated environment with all the required dependencies, libraries and binaries
to run your application with any issue, Hence you can build the package, ship the application to any
environment and run it,
So Containers are designees to run on physical servers, Virtual machines and any cloud instances.
Difference of Containerization and Virtualization
Containerization- Docker
Difference of Containerization and Virtualization
CONTAINER
Containerized Applications
Virtual Machine Virtual Machine Virtual Machine
App A
App B
App G
App D
App C
App F
App E
App A App B App C
Guest Guest Guest
Operating Operating Operating
System System System
DOCKER
Hypervisor Host Operating System
Infrastructure Infrastructure
Virtualization technology that allow us to have multiple operating systems to share a single hardware processor.
Containerization is an application-specific virtualization, because it provides application with dedicated
environments in the form of container to run on, which can be deployed and run anywhere without a dedicated
virtual machine with Operating system for each application.
Also Container was designed to solve modern problems and application management issues. so it's not a
replacement for virtualization.
Containerization vs Virtualization
Advantages of Containers
Containerization- Docker
Advantages of Containers
1. Containers are isolated, doesn’t require operating system and it shares a host kernel.
So containers run on the same server and use the same resources, they do not
interact with each other because its isolated. If one application crashes, other
containers with the same application will keep running without any issue.
Containerized Applications
2. It’s a Portable and light weight operating system and it contains only the required
App A
App B
binaries, dependencies and libraries to run the application. So it can be move any
App G
App D
App C
App F
App E
where easily and can run without worrying about compatibility, dependencies kind of
issues.
DOCKER 3. Faster and Resource and efficiency – Its very fast to boot, because containers are
lightweight and start in less than a second since they do not require an operating
Host Operating System
system boot
Infrastructure
4. Resource efficiency since containers do not require a separate operating system, they
use less resources.
5. Improves Scalability and lowers costs-By allowing more containers in the environment
without the need for more servers, containerization increases scalability anywhere
from 10 to 100 times that of traditional VM environments.
Containerization- Docker
In case of Virtual Machines In case of Docker
Docker Architecture and components
Containerization- Docker