Skip to main content

One post tagged with "docker-compose"

View All Tags

· 4 min read
Sivabharathy
### Docker and Docker Compose Cheatsheet

Docker Commands

  1. Docker Basics

    • docker --version: Check Docker version.
    • docker info: Display system-wide information.
  2. Images

    • docker images: List all images.
    • docker pull <image>: Download an image from a registry.
    • docker build -t <name>:<tag> .: Build an image from a Dockerfile in the current directory.
    • docker rmi <image>: Remove an image.