Day 20 Task : Docker commands Cheat-Sheet

Accenture
Docker overview:
Docker is a set of PaaS that delivers applications in the form of a container. The software that hosts the containers is called docker enginer.
Docker is a tool that is used to automate the deployment of applications in lightweight containers so that applications can work efficiently in different environments in isolation.
Docker can package an application and its dependencies in a virtual container that can run on any Linux, Windows, or macOS computer.
Docker CLI Cheatsheet (Basic and Advanced):
Command | Description |
| Show Docker version info |
| Display Docker system-wide information |
| Download an image from Docker Hub |
| List all locally available images |
| List running containers |
| List all containers, including stopped ones |
| Create and start a container from an image |
| Start a stopped container |
| Stop a running container |
| Restart a container |
| Remove a stopped container |
| Remove an image |
| Execute a command inside a running container |
| Build an image from a Dockerfile |
| Create and start containers defined in the docker-compose.yml |
| Stop and remove containers, networks, and volumes defined in the docker-compose.yml |



