![](https://img-blog.csdnimg.cn/20190927151026427.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
docker
容器
天地一扁舟
这个作者很懒,什么都没留下…
展开
-
docker 3、containerd用法
1 containerd 的命令行工具ctr # ctr COMMANDS: plugins, plugin provides information about containerd plugins version print the client and server versions containers, c, container manage containers content ...原创 2020-06-01 09:29:45 · 5681 阅读 · 0 评论 -
docker 1、docker常用命令与Dockerfile
1 docker基础 1.0 精简版命令 查看容器的id: docker ps|grep <service_name> 查看容器的统计信息(包含cpu和内存使用情况等): docker stats <container_id> 查看容器的日志信息: docker logs <container-id> 打包镜像为tar格式文件: docker save -o...原创 2019-01-28 21:42:05 · 475 阅读 · 0 评论 -
docker 2、优化docker镜像大小方法
1 查看镜像id 即执行如下命令: [root@node-1 ~]# docker images|grep xxx docker.io/xxx 1.0 5d1b456495fc 20 hours ago 1.64 GB 注意: 请将xxx替换为你需要查找的镜像名称 2 查看该镜像的分层情况 即执行如...原创 2019-02-24 09:41:18 · 1436 阅读 · 0 评论