Containerd 基本操作命令 | docker 基本操作命令 | 说明 |
crictl ps | docker ps | 查看运行的容器 |
crictl inspect | docker inspect | 查看容器详情 |
crictl logs | docker logs | 查看容器日志 |
crictl exec | docker exec | 容器内执行命令 |
crictl attach | docker attach | 挂载容器 |
crictl stats | docker stats | 显示容器资源使用情况 |
crictl create | docker create | 创建容器 |
crictl start | docker start | 启动容器 |
crictl stop | docker stop | 停止容器 |
crictl rm | docker rm | 删除容器 |
crictl images | docker images | 查看镜像列表 |
crictl pull | docker pull | 拉取镜像 |
无 | docker push | 推送镜像 |
crictl rmi | docker rmi | 删除镜像 |
crictl pods | 无 | 查看 pod 列表 |
crictl inspectp | 无 | 查看 pod 详情 |
crictl runp | 无 | 启动 pod |
crictl stopp | docker images | 查看镜像 |
ctr images ls | 无 | 停止 pod |
crictl stopp | docker load/save | 镜像导入/导出 |
ctr images import/exporter | 无 | 停止 pod |
ctr images pull/push | docker pull/push | 镜像拉取/推送 |
ctr images tag | docker tag | 镜像tag |
Docker 与 containerd 基本操作
最新推荐文章于 2024-05-06 14:28:32 发布