Docker For Beginners

Docker For Beginners

Docker Terminology

·

2 min read

Docker for the Beginners

Docker is a platform for developing, shipping and running applications in containers. Containers are lightweight, portable, and self-sufficient units that can run applications and their dependencies, isolated from the underlying system and other containers. Docker provides a set of tools and a platform to simplify the process of creating, deploying, and managing containers.

How does Docker work?

Docker works by providing a standard way to run your code. Docker is an operating system for containers. Similar to how a virtual machine virtualizes (removes the need to directly manage) server hardware, containers virtualize the operating system of a server. Docker is installed on each server and provides simple commands you can use to build, start, or stop containers.

Key components of Docker include:

Docker Engine: The core software that enables the creation and execution of containers. It consists of a server and a REST API, allowing users to interact with Docker using the command-line interface (CLI) or through client libraries.

Docker Image: A lightweight, standalone, and executable package that includes everything needed to run a piece of software, including the code, runtime, libraries, and system tools. Images are used to create containers.

Docker Container: An instance of a Docker image. Containers run applications in an isolated environment, ensuring that they have consistent behavior across different environments.

Dockerfile: A text file that contains instructions for building a Docker image. It specifies the base image, dependencies, and configuration needed to create a runnable image.

Docker Compose: A tool for defining and running multi-container Docker applications. It uses a YAML file to configure the services, networks, and volumes required for an application to run.

Docker Daemon: Docker daemon is a service that creates and manages Docker images, using the commands from the client. Essentially Docker daemon serves as the control center of your Docker implementation. The server on which Docker daemon runs is called the Docker host.

Docker Registry: A Docker registry is a scalable open-source storage and distribution system for Docker images. The registry enables you to track image versions in repositories, using tagging for identification. This is accomplished using git, a version control tool.

Thank You !!

Happy Learning !!