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

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.

主站蜘蛛池模板: 夏津县| 武川县| 南宫市| 嵩明县| 怀来县| 余江县| 青浦区| 临泉县| 湖南省| 揭西县| 陕西省| 广汉市| 青海省| 南平市| 新余市| 翁牛特旗| 淮安市| 汉沽区| 林周县| 连江县| 乌什县| 乾安县| 綦江县| 宜兴市| 九龙县| 石家庄市| 开远市| 根河市| 崇仁县| 自贡市| 连山| 珲春市| 宜良县| 元朗区| 临沭县| 涪陵区| 石阡县| 定安县| 华蓥市| 雅江县| 弋阳县|