玩转C科技.NET

从学会做人开始认识这个世界!http://volnet.github.io

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

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

编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
使用Live Messenger联系我
点击右上角即可分享
微信分享提示