# docker Manage [containers](Containers) (shared kernel, separate userland) # Monitoring `docker ps -a` - list all (stopped) containers `docker stats` - live mem, cpu, net/block IO, pids `docker logs -n 100 --follow CONTAINER` - `tail -f` for containers `docker top CONTAINER` - see procs inside a container # Cleanup `docker image prune -a` - removes images not used by any container - most of the time all you really need