Docker命令
| 命令 | 用途 |
|
停止ubuntu镜像的所有容器 |
|
删除ubuntu镜像的所有容器 |
|
删除所有已经stop的container |
|
强制删除容器 |
| docker logs container_id | 查看容器对应的log |
| docker ps --no-trunc | 显示运行容器的完整命令 |
| docker save -o mynginx.tar mynginx:latest | Save an image to a tar file |
| docker load -i mynginx.tar | Load the image from the tar file |
docker logs container_id
docker logs container_id
-q -f status=exit
-q -f status=exit

浙公网安备 33010602011771号