This live session will help you to cover all the basic concepts of Docker. This session will start off with topics such as What is Docker?, What are Containers?, Why do we need Docker?
Docker Engine, Docker Images, Docker Architecture. And then we will learn how to install docker and then finally we will run some basic Docker commands that are necessary to know when working with Docker. Once you are done learning all these concepts you will have an adequate idea about what Docker is and you can then move one to other more advanced Docker Concepts.
Hey 👋🏽, I'm Sounish!
I'm Sounish Nath, student developer, specialized in **Web Development and Flutter**, new learning about *Cloud Computing with DevOps Engineering* I've been in the technical content side for the last 1 year and has taught numerous classes with respect to DevOps.
Deep Dive Into Docker Container
Containerization reduces wasted resources because each container only holds the application and related binaries or libraries. 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
Docker is a set of platform as a service products that uses OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels. All containers are run by a single operating system kernel and therefore use fewer resources than virtual machines. Similar like VM's.
Docker acts as a lightweight virtualization platform that lets you have the benefit of OS level virtualization without the overhead of running multiple, parallel OSes. It lets you drop ready-to-run "containers" into ANY hardware environment that supports Docker instances. It makes application deployment and scaling tons easier.
Depending upon critetias
Containers onlu the bare minimum parts of your OS, required to run any softwares. VM s need copy of all.
Isolation provided a container as of complete VM. but not everything. VM are sepatared networking configuration.
Container is more Efficent.
But VM is less Efficent as comparent.
Container has a master strock in this field.
But VM's are little bit less.
Container best for scalability, than VM's.
- Microservices
- Consistent Development + deployment.
docker create container in which it put our working efficent code, providing security also
- Simple
- Fast
- Easy Collaboration
- Build for developers for Developers
- Docker Community
Download Linux - Windows - MAC
- Docker Engine
- Docker Object
- Docker Volumns
- Docker Networks
- Docker Registry/HUB
- Docker Compose
- Docker Swram
Docker engine its a technology for creation and management of docker files. A CLI docker process 3 Major Parts
- Docker CLI
- Docker API
- Docker Container
- Docker Images
- To create a container. Set of intructer used to create docker container. blueprint of docker container.
- Docker Container
docker --version
docker images
docker pull ubuntu
// create a ubuntu os container [73.9 MB Only instead 3.9GB]
docker run -it -d ubuntu
[-it = interactive, -d = running background]
docker ps
[All running container]
docker stop #{ID}
[automatically assigned]
docker rm -f #{ID/name}
[removes ID/name]
docker kill [also best suited]
docker exec -it #{ID} bash
[Enter into container, in BASH mode]
docker rmi
[ removes image, but kill the container that running]
docker history
[ all history of commands executed ]
Run multiple continer in one go.
Manage multiple container very easily.
docker build docker pull docker run
- Docker CLI -> HOST -> Registry Core.
Thankyou.