Why docker command fails with the message "Cannot connect to the Docker daemon. Is the docker daemon running on this host?" on Red Hat Enterprise Linux 7 ?

Solution Unverified - Updated -

Issue

  • docker psor any docker commands fails with the message "Cannot connect to the Docker daemon. Is the docker daemon running on this host?"
[root@test ~]# docker ps
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
  • Trying to push an image fails with the error "Error response from daemon: plugin rhel-push-plugin failed with error: AuthZPlugin.AuthZReq: Cannot connect to the Docker daemon. Is the docker daemon running on this host?"

Environment

  • Red Hat Enterprise Linux 7.x
  • docker

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content