Docker Community Forums

Share and learn in the Docker community.

Check for DOCKER_HOST on install?


(Charles Haynes) #1

Expected behavior

Successfully run docker ps after install

Actual behavior

docker ps failed with “cannot connect to docker”

Information

Problem was that I was setting DOCKER_HOST in my environment. pinata diagnose -u successfully pointed this out. Suggestion to check for this case on install.

Steps to reproduce the behavior