啓動Rancher 加入ca證書:mysql
docker run -d --restart=unless-stopped -p 8080:8080 -v /root/cacert.crt:/var/lib/rancher/etc/ssl/ca.crt rancher/serversql
openldap tls加密驗證:docker
Rancher HA:數據庫
一、建立好外部mysql數據庫!less
2:啓動Rancher server端:加密
docker run -d --name rancher-server --restart=unless-stopped -v /root/cacert.pem:/var/lib/rancher/etc/ssl/ca.crt -e TZ=Asia/Shanghai -p 8080:8080 -p 172.16.103.99:9345:9345 rancher/server:v1.4.1 --db-host 172.16.103.99 --db-port 3306 --db-user rancher --db-pass rancher --db-name rancherdb --advertise-address 172.16.103.99rest