docker - could not read CA certificate
Docker ENV issue
I face docker ca issue while I try to set docker env. If you try to setup DOCKER_TLS_VERIFY or DOCKER_CERT_PATH and something wrong. May you can run docker even remove and re-install the docker. Below error message will display
could not read CA certificate
could not read CA certificate "/root/.docker/ca.pem": open /root/.docker/ca.pem: no such file or directory
The issue can fix by
unset ${!DOCKER*}
Reference
- https://docs.docker.com/machine/reference/env/
Comments