BigStupid

Ubuntu17.10下启动Rancher

Posted on 2018-03-04 14:04 哈哈丶大傻瓜 阅读(...) 评论(...) 编辑 收藏

1.安装Docker:

获取最新的docker安装包

wget -qO- https://get.docker.com/ | sh

 

2.启动docker后台服务:

service docker start

 

3.测试运行Helloworld

docker run hello-world

 

4.安装rancher:

docker run -it ubuntu bash
exit
docker pull rancher/server:stable

 

5.启动rancher:

 docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:stable

  需要等待几分钟。。。。

截图情况:

 

6. 打开网页查看:

在浏览器中输入192.168.1.247:8080

其中192.168.1.247替换为你自己服务器的ip

 

分类:

技术点:

相关文章: