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 ?
Issue
docker ps
or 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.