How Do You Troubleshoot This Error “…docker.sock: read:: connection reset by peer”?

Problem scenario
You have Docker installed.  When running "docker ps" you get this error:  "An error occurred trying to connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json: read unix @->/var/run/docker.sock: read: connection reset by peer"

How do you fix this error so you can use Docker?

Just because Docker was installed does not mean that the kernel of your OS is supported.  Docker may not work despite being installed.  To find out if you kernel is supported, try this command:  docker daemon

You may also see this link for more information.  To reinstall Docker, see this posting.

Leave a comment

Your email address will not be published. Required fields are marked *