摘要: https://www.cnblogs.com/qinxu/p/9036553.html 阅读全文
posted @ 2019-06-12 13:49 生活无限美 阅读(237) 评论(0) 推荐(0) 编辑
摘要: version: '3.1' services: zoo1: image: zookeeper:3.4.11 restart: always hostname: zoo1 container_name: zookeeper_1 #domainname: ports: - 2181:2181 envi 阅读全文
posted @ 2019-06-12 11:37 生活无限美 阅读(1429) 评论(0) 推荐(0) 编辑
摘要: 查看centos版本的命令:uname -r 升级版本:yum -y upgrade 重启:reboot 阅读全文
posted @ 2019-06-12 10:11 生活无限美 阅读(854) 评论(0) 推荐(0) 编辑
摘要: 1.停止所有的container,这样才能够删除其中的images: docker stop $(docker ps -a -q) 如果想要删除所有container的话再加一个指令: docker rm $(docker ps -a -q) 2.查看当前有些什么images docker imag 阅读全文
posted @ 2019-06-12 09:27 生活无限美 阅读(241) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/98bb69256cc3 阅读全文
posted @ 2019-06-12 00:32 生活无限美 阅读(1491) 评论(0) 推荐(0) 编辑
摘要: 方式1:https://blog.csdn.net/qq_32447321/article/details/76512137 方式2: 方式3: 1. 运行docker-compose 命令报错: -bash: docker-compose: command not found2.安装: 1)先安装 阅读全文
posted @ 2019-06-12 00:09 生活无限美 阅读(16566) 评论(0) 推荐(0) 编辑