How application in docker is isolated
-
Every app running on os will get process id
-
Application will be running in a os which will have some ip adress
-
Application running in a os which will have storage
-
Application running in an os which will have cpu & RAM
-
Application running inside docker container also will get all of the above point
-
Container is an isolated area of execution with
- storage
- CPU
- RAM
- Process tree
- network interface (ip address)
-
Is container new in Linux?
- no
- If you had to create a container it was very difficult and docker has simplified this process
-
Containerization: Process of making your application run on docker containers
-
image: Docker image is a packing format (as of now)
Basic Docker
- When we install docker, we get two components
- Docker daemon
- Docker client
- When we run the command to create container the following happens
- When we run the command to create another container with same image the following happens
- Default remote registry is dockerhub
What are DevOps Engineer Responsiblities over here (so far)
- Ensure you can containerize the applications ( To container applications we need to understand the steps of application deploymemnt)
- DevOps Engineer should be able to use and create new docker images