docker 自建Registry時 無法push

docker 自建Registry後,將images檔push出去時會出現下以的錯誤:
root@docker:~# docker push
Error response from daemon: invalid registry endpoint unable to ping registry endpoint
v2 ping attempt failed with error: Get EOF
v1 ping attempt failed with error: Get EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add --insecure-registry to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/

DOCKER_OPTS="$DOCKER_OPTS --insecure-registry="


你的電子郵件位址並不會被公開。 必要欄位標記為 *