上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: 查看终端显示容器的退出状态 test2 : 容器名称 docker wait test2 阅读全文
posted @ 2019-10-22 16:54 超我 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 修改初始创建的容器的配置文件及配置信息 test2: 容器名称 将容器的cpu升级为2核 docker update test2 --cpus 2 阅读全文
posted @ 2019-10-22 16:49 超我 阅读(8451) 评论(0) 推荐(0) 编辑
摘要: 查看容器的进程信息 test2: 容器名称 docker top test2 阅读全文
posted @ 2019-10-22 16:41 超我 阅读(1830) 评论(0) 推荐(0) 编辑
摘要: 主要为适应给容器仓库上传镜像的规范名称 docker tag centos:7 hexiaoqiang/centos:7 阅读全文
posted @ 2019-10-22 16:38 超我 阅读(4742) 评论(0) 推荐(0) 编辑
摘要: 查看所有容器资源使用情况 docker stats -a 结果只输出一次 docker stats --no-stream 查看指定容器资源使用情况 docker stats test2 阅读全文
posted @ 2019-10-22 16:33 超我 阅读(3010) 评论(0) 推荐(0) 编辑
摘要: 搜索镜像 docker search redis 搜索星大于100的镜像标签 docker search redis -f stars=100 搜过官方的镜像标签 docker search redis -f is-official=true 阅读全文
posted @ 2019-10-22 16:26 超我 阅读(2738) 评论(0) 推荐(0) 编辑
摘要: 删除镜像容器。正在运行的容器是删除不掉的 docker rmi 容器ID 阅读全文
posted @ 2019-10-22 16:16 超我 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 重启正在运行的容器 -t 指定容器停止的时间 默认等待10s 然后强制重启 可以灵活指定更长的等待停止时间 docker restart 容器名称 阅读全文
posted @ 2019-10-22 16:13 超我 阅读(4952) 评论(0) 推荐(0) 编辑
摘要: 重命名容器的名称 docker rename 现在容器名称 修改后容器名称 阅读全文
posted @ 2019-10-22 16:10 超我 阅读(890) 评论(0) 推荐(0) 编辑
摘要: 下载或者上传镜像 -a : 会下载tomcat镜像的全部标签 不建议生产使用 docker pull tomcat -a 阅读全文
posted @ 2019-10-22 16:08 超我 阅读(931) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页