1
oadm 도구로 빌드하는 Docker 레지스트리에 로그인하려고합니다.Dock 용 auth URL에 대한 TLS 자체 서명 인증서
time="2017-01-10T00:58:42.913539516Z" level=error msg="error authorizing context:
Get https://ld7-zko8s6q-ws:8443/oapi/v1/users/~: x509:
certificate signed by unknown authority"
go.version=go1.4.2 http.request.host="172.30.10.52:5000"
http.request.id=3fa81975-3aa9-44d8-a6a8-c00ad360009c
http.request.method=GET http.request.remoteaddr="10.1.0.1:49316"
http.request.uri="/v2/" http.request.useragent="docker/1.10.3 go/go1.6.2
git-commit/429be27-unsupported kernel/3.10.0-514.2.2.el7.x86_64
os/linux arch/amd64" instance.id=2a23b229-2a0e-4734-83c4-38cb9c8a0e00
이 어떻게 하나가 얻을 수 있습니다 : 내 인스턴스가 자체 서명 된 인증서를 사용하기 때문에, 나는 문제가 있음을 볼 수 있습니다
# docker login -u $(oc whoami) -e 'xxxx' -p $(oc whoami -t) 172.30.10.52:5000
Error response from daemon: no successful auth challenge for
https://172.30.10.52:5000/v2/ - errors: [basic auth attempt to
https://172.30.10.52:5000/v2/ realm "openshift" failed with status: 400 Bad
Request]
로그에 상대 : 나는 토큰을 사용하여 로그인을 시도 내 인증서를 신뢰할 수 있습니까? 아니면 TLS 인증을 해제할까요?