Overview/
├── Introduction
│ ├── What is Docker
│ └── Advantages of Docker
├── Installation
│ ├── System Requirements
│ └── Installation Steps
└── Usage
├── Basic Commands
├── Image Management
└── Container Management
Steps to install Docker.
# Install Docker
curl -fsSL <https://get.docker.com> -o get-docker.sh
sudo sh get-docker.sh
# Manage Docker as a non-root user
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
# Verify Installation
docker --version
Running containers, listing, and stopping.
# Run a container
docker run hello-world
# List Docker containers
docker ps -a
# Stop a running container
docker stop [CONTAINER_ID]