sudo docker run -d --name rancher-server -p 8080:8080 --restart=unless-stopped -e DEFAULT_CATTLE_CATALOG_URL=‘{"catalogs":{"library":{"url":"https://gitee.com/rancher/rancher-catalog.git","branch":"k8s-v1.6-release"}}}‘ rancher/server:stable && sudo docker logs -f rancher-server
原文地址:http://quchenyong.blog.51cto.com/10723570/1984186