A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.
Docker Desktop
- Docker daemon
- CLI
- GUI
Docker Engine
Container: A lightweight, standalone, and executable package that includes everything needed to run a piece of software.
Image: Think of this as a template or blueprint for containers. It contains all the instructions needed to create a container.
Docker Hub: Like GitHub but for Docker images - it's where you can find and share container images.
Docker Engine: The core technology that runs and manages containers on your machine.
This diagram shows that:
The Docker Engine runs containers
Images are used to create containers
Docker Hub stores images
The Docker Engine can pull images from Docker Hub and push images to Docker Hub
===labex.io====
docker images # list local images
docker run hello-world
docker pull hello-world #pull hello-world image from Docker Hub
===
Comments
Post a Comment