首页 > 技术文章 > Ubuntu17.10下启动Rancher

BigStupid 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

 

7.添加主机:

如图,第5步复制里面的代码,在服务器上运行,等待服务器运行完毕,点击第6步下的“关闭”按钮。

 

推荐阅读