Export a container filesystem
Streams the container filesystem as tar so you can look inside
docker export <container> | tar -tvf - | head -30
- tool
- docker46 commands
More docker commands
-
docker diff <container>Files added (A), changed (C) or deleted (D) in a running container
-
docker commit -m 'debug snapshot' <container> debug-snapshot:$(date +%s)Saves the filesystem of a running container as an image
-
docker run --memory=512m --cpus=0.5 --oom-kill-disable=false myappLimits the container to 512MB of RAM and half a CPU core
-
docker stats --no-stream --format 'table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}'One-time snapshot of CPU and memory for all containers
-
docker image prune -fDeletes all untagged <none>:<none> images