命令 | 用途 |
|
停止ubuntu镜像的所有容器 |
|
删除ubuntu镜像的所有容器 |
|
删除所有已经stop的container |
|
强制删除容器 |
docker logs container_id | 查看容器对应的log |
docker ps --no-trunc | 显示运行容器的完整命令 |
docker logs container_id
docker logs container_id
-q -f status=exit
-q -f status=exit