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

前端 未结 8 2289
無奈伤痛
無奈伤痛 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:02

    I encountered the same error due to the reason that I had setup the environment to a particular docker machine which I later deleted but my environment was still set to the deleted machine. So docker calls were being redirected the a non-existant machine causing the error.

    I unset the environment variables and the issue was fixed:

    eval $(docker-machine env -u)
    

    To see which environment variable would be unset run:

    docker-machine env -u
    

提交回复
热议问题