Skip to content

Instantly share code, notes, and snippets.

@omernaci
Last active September 29, 2024 10:30
Show Gist options
  • Save omernaci/6042d1dbe67cd32bf69f6d1e43c66ec5 to your computer and use it in GitHub Desktop.
Save omernaci/6042d1dbe67cd32bf69f6d1e43c66ec5 to your computer and use it in GitHub Desktop.
Docker General Commands
Command Description
docker version Displays Docker version information.
docker info Shows detailed information about the Docker installation and system.
docker login Logs into a Docker registry.
docker logout Logs out from a Docker registry.
docker search <image-name> Searches for Docker images in a registry.
docker stats Shows real-time resource usage statistics of running containers.
docker events Streams real-time events from the Docker server.
docker kill <container-id> Forcibly stops a running container.
docker network ls Lists all Docker networks.
docker volume ls Lists all Docker volumes.
docker help Shows help for Docker commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment