Click on image to see full size. Read the comments for description.

One comment “Understand common Docker in 3 Easy Steps.”

  1. admin Says:

    Understand common Docker in 3 Easy Steps.

    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.

Add comment

You need to register , for comment of article.