docker-compose up
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.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dahara%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission deniedIts specially for Linux
This error occurs because your user does not have permission to access the Docker Unix socket located at . By default, this socket is owned by , and only members of the group can access it without using . [1]