Skip to content

docker: permission denied while trying to connect to the Docker daemon socket #526

@oak2

Description

@oak2

I'm getting Docker permission errors with several tools:
`Docker exited with code 126
stdout:
stderr: docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.

05/09 13:10:09 INFO c.c.a.c.clients.CodacyClient:177 - Success parsing remote results response
05/09 13:10:09 INFO c.c.a.c.clients.CodacyClient:133 - Success posting analysis error
Docker exited with code 126
stdout:
stderr: docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.

05/09 13:10:09 INFO c.c.a.c.clients.CodacyClient:177 - Success parsing remote results response
05/09 13:10:09 INFO c.c.a.c.clients.CodacyClient:133 - Success posting analysis error
Docker exited with code 126
stdout:
stderr: docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.`
Using the latest image, version 7.9.16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions