Docker Error response from daemon: conflict: unable to remove repository reference

When tried to remove an image(hello-world) from docker, we have received below error.

docker image rm hello-world

Error response from daemon: conflict: unable to remove repository reference "hello-world" (must force) - container 2399c8b64bc8 is using its referenced image bf756fb1ae65

Docker Error response from daemon conflict unable to remove repository reference

Reason:
Continue reading Docker Error response from daemon: conflict: unable to remove repository reference

docker: Got permission denied while trying to connect to the Docker daemon socket at unix

We have received below error when tried to run image in docker.

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'.

docker Got permission denied while trying to connect to the Docker daemon socket at unix

Reason:

We have tried to run docker image with non-root privileges.
Continue reading docker: Got permission denied while trying to connect to the Docker daemon socket at unix

how to install Docker on CentOS 8

In this article, we will see how to install Docker on CentOS 8. Docker is available in two versions,

Docker CE (Community Edition)
Enterprise Edition (EE)
In this guide we will learn how to install Docker CE (Community Edition) on CentOS 8 or RHEL 8 Server.

System Requirements for Docker CE:

To install Docker Engine, you need a maintained version of CentOS 7. Archived versions aren’t supported or tested.

Updated Minimal CentOS 8 / RHEL 8
Sudo or root privileges
Internet Connection

SET UP THE REPOSITORY:
Continue reading how to install Docker on CentOS 8