zoukankan      html  css  js  c++  java
  • Ubuntu17.10下启动Rancher

    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步下的“关闭”按钮。

  • 相关阅读:
    HTML与css语法笔记
    HTML标记含义
    HTML-入门篇day01
    计算器
    九宫格
    5.28第十三周
    5.21 不用交得作业及答案
    5.22 上交作业
    5.15作业
    5.7作业
  • 原文地址:https://www.cnblogs.com/BigStupid/p/8504556.html
Copyright © 2011-2022 走看看