Centos 7+Docker+Nginx+KeepAlived实现高可用
Docker安装全过程:docker的安装教程网上到处都是,随便贴个地址:https://www.cnblogs.com/huangjinyong/p/11834835.html拉取centos7镜像:docker pull centos:7创建容器:docker run -it -d --name centos1 -d centos:7进入容器:docker exec -it centos1 bash安装一些常用工具:yum updateyum install -y vim w.