Docker¶
Running services in containers: starting and watching containers, building and updating images, keeping data in volumes and running whole stacks with Docker Compose.
Basics: Images and containers, installation, ports and volumes, a Dockerfile and a compose.yaml
Running containers¶
-
Create and start a container.
-
List running and stopped containers.
-
Start stopped containers again.
-
Stop containers cleanly.
-
Delete containers.
Looking inside containers¶
-
Show the output of a container.
-
Run a command or shell in a container.
-
All details as JSON.
-
CPU and memory usage live.
Images¶
-
List the images on the host.
-
Download an image.
-
Build an image from a Dockerfile.
-
Upload an image to a registry.
-
Delete images.
Data and network¶
-
Storage that outlives the container.
-
Networks between containers.
Stacks and cleanup¶
-
Run several containers from a compose.yaml.
-
Disk usage and cleanup.
Alternative¶
-
Containers without daemon and root, standard on RHEL.