How do I undo the command $ eval “$(docker-machine env blog)”

后端 未结 5 1282
一个人的身影
一个人的身影 2021-02-01 17:47

I think that command redirected $ docker commands to the docker machine. Now all my docker commands are giving me an error FATA[0000] Couldn\'t read ca cert.

5条回答
  •  执念已碎
    2021-02-01 17:51

    I had been searching for an answer to this for quite awhile. Shortly after posting the question on stackoverflow I realized typing in to the terminal the export commands docker gives on startup resolved my issue.

    To connect the Docker client to the Docker daemon, please set:
    export DOCKER_HOST=tcp:// some IP address
    export DOCKER_CERT_PATH= some file path
    export DOCKER_TLS_VERIFY=1
    

提交回复
热议问题