What does Docker do ?
Don't miss out on this valuable piece covering all aspects of What does Docker do ?, with a special focus on does.
Docker provides lightweight virtualization on your desktop using containers. Here's what happens when you "docker build", "docker pull", "docker run":
1. Docker Client talks to the Docker Daemon
2. Docker Daemon manages containers and images
3. Docker Registry stores images like on Docker Hub
When you "docker run" a container:
- Pull image from registry if not cached locally
- Create new container
- Give it a filesystem
- Connect to network
- Start container
Docker uses containerization, not hardware virtualization. Containers share the host kernel so a full OS image isn't needed.
Docker isolates resources with cgroups and namespaces without duplication. Containers get their own filesystem but don't duplicate the full OS.
The layered filesystems allow efficient use of storage and quick duplication of container environments.
Docker is a great packaging technology - bundling the app, libraries, dependencies - everything needed to run. This standardized packaging makes Docker images popular in the cloud, even when container runtimes like containerd or CRI-O are used instead of Docker itself.
So Docker provides lightweight virtualization on desktops, while also being an excellent packaging technology for apps in the cloud.
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages):
Keep the momentum going! How can the lessons from What does Docker do ? be applied to your current projects involving does?
We've fetched this topic's video from Facebook for your viewing. If you need to download facebook video What does Docker do ? in mp4 video, simply ask us in the comments section and we’ll make it available.

Comments
Post a Comment