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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.