docker command error

When using any command prompts are docker

Cannot connect to the Docker daemon at tcp://127.0.0.1:2375. Is the docker daemon running?

Confirmed docker is a start-up state, the main cause is the environment variable configuration issues

unset DOCKER_HOST
unset DOCKER_TLS_VERIFY
unset DOCKER_TLS_PATH
docker ps

Guess you like

Origin blog.51cto.com/13504746/2435494