Skip to content

Someshdiwan/Docker-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐳 Docker Guide

A complete visual and command-based guide to essential Docker operations β€” from running containers to cleaning up system space.
Perfect for beginners who want a practical reference for everyday Docker tasks.


🌐 Live Demo


πŸ“˜ Overview

This guide helps developers quickly recall Docker commands for:

  • Operations – start, stop, rebuild, and manage containers
  • Monitoring – check logs, health, and dashboards
  • Cleanup – safely remove images, volumes, and cache
  • Best Practices – optimize builds and maintain clean environments

The interface is minimal, responsive, and interactive β€” built using plain HTML, CSS, and JavaScript.


πŸ“‚ Structure

Docker-Guide/
β”œβ”€β”€ index.html    # Main page with all sections
β”œβ”€β”€ styles.css    # Styling for layout and design
β”œβ”€β”€ app.js        # Tab switching logic
β”œβ”€β”€ LICENSE       # MIT license
└── README.md     # Project overview

🧹 Docker Cleanup Command Reference

🧭 Action 🧰 Command
Stop containers docker compose down
Remove build cache docker builder prune -af
Remove unused images docker image prune -a -f
Clean containers/networks docker container prune -f
Delete unused volumes docker volume prune -f
Full cleanup (everything) docker system prune -af

πŸ’‘ Tip: Run docker system df before and after cleanup to see reclaimed space.


πŸ“– License

This project is licensed under the MIT License β€” free to use, modify, and share.


Created by Somesh Diwan, Clean, interactive, and beginner-friendly Docker documentation.