![Unable to run Docker image that was built from scratch - Docker - KodeKloud - DevOps Learning Community Unable to run Docker image that was built from scratch - Docker - KodeKloud - DevOps Learning Community](https://kodekloud.com/community/uploads/db1265/original/3X/8/2/82593014981e34f63bcccf8206f595aae43bb5e1.png)
Unable to run Docker image that was built from scratch - Docker - KodeKloud - DevOps Learning Community
Error: An error occurred while attempting to run Docker container · Issue #2105 · docker/for-win · GitHub
![Docker throws error: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/json: dial unix /var/run/ docker.sock: connect: permission denied ... Docker throws error: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/json: dial unix /var/run/ docker.sock: connect: permission denied ...](https://community.synology.com/images/picture/1280x1280/195/1593011007_fyXzy.png)
Docker throws error: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/json: dial unix /var/run/ docker.sock: connect: permission denied ...
![Problem while trying to run trivy from docker container (with offline DB) · Issue #2283 · aquasecurity/trivy · GitHub Problem while trying to run trivy from docker container (with offline DB) · Issue #2283 · aquasecurity/trivy · GitHub](https://user-images.githubusercontent.com/75042095/172457735-f1e366c0-e330-49c2-af4e-420875c968cb.png)