Docker: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Full Title or Meme== Docker is a system for building, deploying and running complex images of a program with its runtime. ==Context== *With the rise of cloud computing t...") |
|||
Line 4: | Line 4: | ||
*With the rise of cloud computing the need arose to give users an easy way to create a run-time package that could be sent to any cloud Platform as a Service provider (PaaS) with complete interoperability. | *With the rise of cloud computing the need arose to give users an easy way to create a run-time package that could be sent to any cloud Platform as a Service provider (PaaS) with complete interoperability. | ||
==Solutions== | ==Solutions== | ||
Docker was released in 2013 and solved many of the problems that developers had running containers end-to-end. It had all these things: | |||
# A container image format | |||
# A method for building container images (Dockerfile/docker build) | |||
# A way to manage container images (docker images, docker rm , etc.) | |||
# A way to manage instances of containers (docker ps, docker rm , etc.) | |||
# A way to share container images (docker push/pull) | |||
# A way to run containers (docker run) | |||
When you run a Docker container, these are the steps Docker actually goes through: | |||
# Download the image | # Download the image | ||
# Unpack the image into a "bundle". This flattens the layers into a single filesystem. | # Unpack the image into a "bundle". This flattens the layers into a single filesystem. |
Revision as of 19:36, 13 November 2020
Full Title or Meme
Docker is a system for building, deploying and running complex images of a program with its runtime.
Context
- With the rise of cloud computing the need arose to give users an easy way to create a run-time package that could be sent to any cloud Platform as a Service provider (PaaS) with complete interoperability.
Solutions
Docker was released in 2013 and solved many of the problems that developers had running containers end-to-end. It had all these things:
- A container image format
- A method for building container images (Dockerfile/docker build)
- A way to manage container images (docker images, docker rm , etc.)
- A way to manage instances of containers (docker ps, docker rm , etc.)
- A way to share container images (docker push/pull)
- A way to run containers (docker run)
When you run a Docker container, these are the steps Docker actually goes through:
- Download the image
- Unpack the image into a "bundle". This flattens the layers into a single filesystem.
- Run the container from the bundle