“docker pull” certificate signed by unknown authority

后端 未结 8 1973
灰色年华
灰色年华 2020-12-29 04:01

I was trying to pull a docker image from a docker registry but hit the following issue:

$ docker pull //          


        
8条回答
  •  無奈伤痛
    2020-12-29 04:22

    For me I ended up doing this to get it to work:

    sudo cp -p abc.crt /etc/pki/ca-trust/source/anchors
    sudo update-ca-trust
    sudo update-ca-trust extract
    sudo systemctl daemon-reload
    sudo systemctl restart docker
    

提交回复
热议问题