如何安装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
posted on 2016-09-04 10:21 volnet(可以叫我大V) 阅读(559) 评论(0) 编辑 收藏 举报