docker注册表推送在本地主机上失败
我在本地主机上运行docker注册表:5000,当我试图放置图像时,出现以下错误docker注册表推送在本地主机上失败,docker,push,docker-registry,Docker,Push,Docker Registry,我在本地主机上运行docker注册表:5000,当我试图放置图像时,出现以下错误 bash-4.2# docker push localhost:5000/test5 The push refers to a repository [localhost:5000/test5] (len: 1) Sending image list Put http://localhost:5000/v1/repositories/test5/: dial tcp 127.0.0.1:5000: connect
bash-4.2# docker push localhost:5000/test5
The push refers to a repository [localhost:5000/test5] (len: 1)
Sending image list
Put http://localhost:5000/v1/repositories/test5/: dial tcp 127.0.0.1:5000:
connection refused
下面是/etc/default/docker上的条目
bash-4.2#more/etc/default/docker
DOCKER_OPTS=“--不安全的注册表本地主机:5000”
有人能帮忙吗 你在这儿查过了吗?并在更改后重新启动docker?能否提供用于运行注册表的命令及其配置?