参考资料库
Docker 命令速查表
用于镜像、容器、日志和清理的常用 Docker 命令。
List containers
参考: Show running and stopped containers.
docker ps -a View logs
参考: Inspect container output.
docker logs <container> Build image
参考: Build an image from a Dockerfile.
docker build -t app . Clean unused data
参考: Remove unused containers, networks, and cache.
docker system prune