---
title: "Discussion on \"permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock\" | Hashnode"
description: "Discussion on \"permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock\". Full error message\ndocker-compose up db\npermission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker..."
url: "https://hashnode.com/posts/permission-denied-while-trying-to-connect-to-the-docker-daemon-socket-at-unixvarrundockersock/64ffe2e67fed2264fa3319b7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock](https://blog.alexandrecalaca.com/permission-denied-while-trying-to-connect-to-the-docker-daemon-socket-at-unixvarrundockersock?utm_source=hashnode&utm_medium=feed)

Full error message docker-compose up db permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker...

Sep 12, 2023 · 2 min read · blog.alexandrecalaca.com  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#ruby](https://hashnode.com/tag/ruby)
-   [#debian](https://hashnode.com/tag/debian)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)

## Written by

[Alexandre Calaça](https://hashnode.com/@alexandrecalaca)

@alexandrecalaca

  
[View profile](https://hashnode.com/@alexandrecalaca)

I'm a passionate software developer.

## Responses 1

Markdown supported · ⌘↵ to post

[Alexandre Calaça](https://hashnode.com/@alexandrecalaca)

[Sep 14, 2023](https://hashnode.com/posts/permission-denied-while-trying-to-connect-to-the-docker-daemon-socket-at-unixvarrundockersock/64ffe2e67fed2264fa3319b7/comment/65033f582664c8e904ddfefe)

Thanks for dropping by.

You can visit all my blog articles if you click on the following link: [blog.alexandrecalaca.com/archive](https://blog.alexandrecalaca.com/archive)
