Docker Commands Cheatsheet

3 min read·virtua-team
EN

Container Management

Command Description
docker run Create and start a container
docker ps List running containers
docker stop <id> Stop a container
docker rm <id> Remove a container

Images

Command Description
docker images List images
docker pull <image> Pull an image
docker build -t <tag> . Build an image

Docker Compose

Command Description
docker compose up -d Start services
docker compose down Stop services
docker compose logs -f Follow logs

Ready to try it yourself?

Deploy your own server in seconds. Linux, Windows, or FreeBSD.

See VPS Plans