Docker Cheat Sheet

Container

Copy from container to host

Create and bind port, enviroment to Container

Exec apps/function on Container

Exec app/function on container (with interaction)

Exec Bash Command

Network

List all Docker networks

Get details docker network

Images

List all Docker images

Shows history of image

Docker Compose

Run all container on docker-compose

Build and Run all container

Stop all containers on docker-compose

Remove all container on docker-compose

Clean Up

Remove all containers from your system

Remove all Docker network

Remove all Docker Swarm services

Remove all Docker image <NONE> from your system

Remove all Docker image from your system