官术网_书友最值得收藏!

Connecting to the PoC DTR

Since you are using a self-signed certificate for the PoC's DTR, you will need to configure your local build machine Docker daemon to trust the DTR certificate used during the https login. If you do not configure your local build machine to trust the DTR certificate, you will get an x509 certificate error when attempting to log in to DTR. For more information on configuring the operating system on your build machine, please read this: https://docs.docker.com/ee/dtr/user/access-dtr/

At this point, you will need your login credentials for the PoC's UCP/DTR from your Docker Enterprise administrator. In addition to the username and password, you will also need the DNS name or routable IP address of both the UCP and DTR. Use the following command to log a Docker Engine into the DTR; follow the prompts for credentials:

$ docker login url-of-docker-trusted-registry 
username: dev-user
password: *******
...
WARNING! Your password will be stored unencrypted in C:\Users\Administrator\.docker\config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

After the warning, you should be logged in to the DTR. For the PoC, don't worry about installing a credential helper, but is not a bad idea for developer workstations that have access to the Docker Enterprise cluster.

主站蜘蛛池模板: 南城县| 凤台县| 芜湖市| 成武县| 博客| 马龙县| 调兵山市| 皋兰县| 阜康市| 潜山县| 松溪县| 玉山县| 恭城| 鸡西市| 万宁市| 伊春市| 东海县| 崇左市| 息烽县| 晴隆县| 浪卡子县| 中西区| 盱眙县| 应用必备| 鸡西市| 哈密市| 苗栗市| 惠来县| 长乐市| 平遥县| 景东| 大埔县| 冷水江市| 衡阳市| 宝坻区| 阳朔县| 木兰县| 萝北县| 弥勒县| 黑河市| 桐柏县|