13 Tweets 1 reads Aug 24, 2021
11 Fundamental Docker Definitions for:
🏠Docker host
⚙️Docker engine
🖥️ Docker client
😈Docker daemon
📝Dockerfile
📦Docker Image
🐳Docker Container
🔗Docker Network
💾Docker volumes
🐙Docker Compose
🪣 Docker Registry
Keep reading for short definitions:
/thread⬇️
1/11 🏠Docker (Active) Host
A computer with Docker installed and the daemon running.
It can process Docker and non-Docker workloads.
2/11 ⚙️Docker Engine
A Client-Server application.
It has 3 components:
- CLI: A command-line interface client.
- daemon process: A server that is a type of long-running program.
- Rest API: to specify interfaces that programs can use to talk and interact with the daemon.
3/11 🖥️Docker Client
The main way of interacting with Docker.
When you use commands such as "docker run", the client sends these commands to dockerd, which carries them out.
The "docker" command uses the Docker API.
One client can communicate with multiple daemons.
4/11 😈Docker Daemon
The Docker daemon (dockerd) is a process, which runs in the background, that manages the docker objects (images, containers, networks, volumes).
It processes Docker API requests
5/11 📝Dockerfile
It's a text document (capital D, no extensions).
You can use a different name.
It contains KEY VALUES pairs with all the commands a user could call on the command line to build an image.
During the build, the lines are executed in order
6/11 📦Docker Image
It's a file, composed of multiple layers, often based on another image, that contains everything you need to run your application.
For example:
-dependencies
-configuration
-binaries
-environment variables
Containers run on top of existing images.
7/11 🐳Docker Container
- It's a single unit of working software, with all its configurations and dependencies, packaged.
- From a technical point of view, the container is just a process, that runs on the machine, isolated from the other processes.
8/11 🔗Docker Network
It's how to link different containers and how they can communicate with each other on single/multiple hosts, agnostically.
You can have different behaviors using different drivers.
9/11 💾Docker Volumes
They are file systems mounted on Docker containers to save data.
You need this because containers are ephemerals, and when they are removed, all their data is lost, and this happens often.
10/11 🐙Docker Compose
It's a tool for defining and running multi-container Docker applications, called services.
You use a YAML file to configure the services, that can be created/started/stopped with a single command.
It works well in development, testing, and production.
11/11 🪣 Docker registry
It's a stateless server-side application to store Docker images where the images can be pulled/pushed (as GitHub for repositories).
It can be public or private.
Docker Hub is a public Docker registry.
If you enjoyed these definitions, please consider sharing this and following @FrancescoCiull4.
I am talking about Docker in this new YouTube Channel, can you help me to reach 100 subs? Thank you!
youtube.com

Loading suggestions...