Posts

Image
Before you start reading about this topic  Hello everyone. This is my second post on what Docker Container is and how it work. In the previous post I explained what a Docker container is, how it works, what it does, and how to install Docker. I also gave several examples and commands to start learning about this fascinating and very helpful technology to improve processes and productivity for enterprises. Please read my previous post first if you just started learning about Docker Container. Learning more about Docker Containers Now that you know how to install Docker and use basic commands let's investigate more beginner content using containers to run more processes since this is one of Docker’s most compelling value propositions. To start running processes with Docker In the command line, type "docker run" to start running a main process in the container. When that process exits then the container stops. Docker containers have one main process and Docker assigns a rand...

What is Docker Container, and how does it work ? (Part 1)

Image
Dock Container? What it is? Dock container is a self-contained sealed unit of software, this contains all the necessary resources to run the code and not more, this includes operating system and batteries. In other words, it contains all the codes, configuration and necessary processes within the container and the networking configuration to talk to the other containers that supposed to be talking but nothing else, additionally containers user the host machine kernel that is the main reason they can be very light and portable. All dependencies that your system needs are also added to the container. finally, it contains only the necessary components from the operating system to be able to run that code. Multiple containers can run on the same hardware, also maintains applications isolated, increase the productivity and the configuration is very quick and easy.   How does it work? For example, in a Linux server, it picks all the services from the Linux servers and copies all in ...