Docker is a set of platform as a service products that delivers software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels.
- Images: Docker images are templates used to create containers. Learn how to build your own images and customize them for different needs.
- Containers: Containers are the executable units of Docker. They encapsulate an application and its dependencies.
- Docker Hub: A cloud-based repository for sharing Docker images. You can find public images for many commonly used applications.
Here are some essential Docker commands:
docker run: Run a container from an image.docker ps: List running containers.docker build: Build an image from a Dockerfile.docker pull: Pull an image from Docker Hub.
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Compose works in all environments: production, staging, development, testing, as well as CI workflows. With Docker Compose, you can easily deploy multiple containers with a single command.
We have made a curated list of Docker commands needed to work with Docker command line interface here
We hope you now know the roadmap to being a professional Docker Developer ✌️
