zoukankan      html  css  js  c++  java
  • 如何安装Docker UCP

    parallels@ubuntu:~/Downloads/Docker$ ls
    DTR  UCP
    parallels@ubuntu:~/Downloads/Docker$ sudo openssl req -out ca.pem -new -x509
    Generating a 2048 bit RSA private key
    ......................................................+++
    .................+++
    writing new private key to 'privkey.pem'
    Enter PEM pass phrase:docker
    Verifying - Enter PEM pass phrase:docker
    -----
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [AU]:cn
    State or Province Name (full name) [Some-State]:beijing
    Locality Name (eg, city) []:beijing
    Organization Name (eg, company) [Internet Widgits Pty Ltd]:
    Organizational Unit Name (eg, section) []:
    Common Name (e.g. server FQDN or YOUR name) []:volnet
    Email Address []:
    parallels@ubuntu:~/Downloads/Docker$ ls
    ca.pem  DTR  privkey.pem  UCP
    parallels@ubuntu:~/Downloads/Docker$ docker run --rm -it --name ucp   -v /var/run/docker.sock:/var/run/docker.sock   docker/ucp install -i   --host-address 10.211.55.6
    INFO[0000] Verifying your system is compatible with UCP 
    INFO[0000] Your engine version 1.12.1, build 23cf638 (3.13.0-86-generic) is compatible 
    Please choose your initial UCP admin password: 
    Confirm your initial password: 
    INFO[0032] All required images are present              
    WARN[0032] None of the hostnames we'll be using in the UCP certificates [ubuntu 127.0.0.1 172.17.0.1 10.211.55.6] contain a domain component.  Your generated certs may fail TLS validation unless you only use one of these shortnames or IPs to connect.  You can use the --san flag to add more aliases 
    
    You may enter additional aliases (SANs) now or press enter to proceed with the above list.
    Additional aliases: docker-node1
    INFO[0068] Installing UCP with host address 10.211.55.6 - If this is incorrect, please specify an alternative address with the '--host-address' flag 
    INFO[0000] Checking that required ports are available and accessible 
    INFO[0002] Generating UCP Cluster Root CA               
    INFO[0027] Generating UCP Client Root CA                
    INFO[0032] Deploying UCP Containers                     
    INFO[0063] New configuration established.  Signalling the daemon to load it... 
    INFO[0064] Successfully delivered signal to daemon      
    INFO[0064] UCP instance ID: ZIHB:NNFZ:FZ5O:V577:JKTE:UYMA:CVTU:WLGV:CWQY:BLM7:SCC2:2KT2 
    INFO[0064] UCP Server SSL: SHA-256 Fingerprint=4F:84:80:E6:26:60:85:B9:69:98:D9:0A:39:F3:09:B8:A7:3D:B3:D3:0E:10:C2:3A:3A:C4:4D:6B:51:66:2B:C2 
    INFO[0064] Login as "admin"/(your admin password) to UCP at https://10.211.55.6:443
    
    
  • 相关阅读:
    洛谷P1434 滑雪
    P1855 榨取kkksc03
    C#中将表示颜色的string转换成Color
    DevExpress的对话框XtraMessageBox的使用
    Winform中怎样根据Name获取同窗体的控件
    Winform中使用代码编写Button按钮的点击事件
    SqlServer 2014还原数据库时提示:无法在已有的""上还原文件,请重新发出RESTORE语句,用WITH REPLACE来覆盖原先存在的文件
    SqlServer 2014 还原数据库时提示:操作系统返回了错误5,,拒绝访问
    Windows 7 上怎样打开SQL Server 配置管理器
    SqlServer2014怎样还原数据库
  • 原文地址:https://www.cnblogs.com/volnet/p/docker-ucp-install.html
Copyright © 2011-2022 走看看