我正在部署我自己的docker注册表,在测试期间,我想docker push
到local:8000
的非TLS注册表。但是,我得到以下内容:
$ docker push local:8000/alexflint/kayak-test-foo
The push refers to a repository [local:8000/alexflint/kayak-test-foo]
Get https://local:8000/v1/_ping: http: server gave HTTP response to HTTPS client
我的理解是docker客户端希望与HTTPS服务器通信,但我的服务器正在为HTTP服务。有没有办法告诉docker push
使用HTTP?
我使用的docker客户端是Docker for Mac。