Keep getting Could not read CA certificate when trying to start docker

前端 未结 8 2291
無奈伤痛
無奈伤痛 2021-02-07 12:23

I am attempting to migrate from boot2docker to docker-machine.

I followed the directions here to install docker but I keep getting the following message:



        
相关标签:
8条回答
  • 2021-02-07 13:10

    Please follow this guide: Docker for Mac vs Docker Toolbox

    Worked for me, you need to unset the variables instead of creating them for mac.

    # grep for DOCKER ENV vars
    env | grep DOCKER
    unset <DOCKER_VARS>

    0 讨论(0)
  • 2021-02-07 13:18

    My solution in macOS to clean the reference to the missing certs, that were not in ~/.bash_profile or ~/.bashrc was:

    unset ${!DOCKER*}
    

    Source: https://forums.docker.com/t/initial-install-of-docker-for-mac-could-not-read-ca-certificate/9170/7

    0 讨论(0)
提交回复
热议问题