I’m trying to setup traefik
with the podman
/docker
provider but I’m getting the following error message:
Failed to retrieve information of the docker client and server host error="permission denied while trying to connect to the Docker daemon socket at unix:///run/user/1000/podman/podman.sock ..
Here’s my config:
{ config, ... }:
{
services.traefik = {
enable = true;
staticConfigOptions = {
group = "podman";
api = {
dashboard = true;
};
providers = {
docker = {
exposedByDefault = false;
endpoint = "unix:///run/user/1000/podman/podman.sock";
};
};
entryPoints = {
http = {
address = ":80";
};
};
};
dynamicConfigFile = config.age.secrets.traefik-dynamicConfigFile.path;
};
}
This is the output of eza -lg /run/user/1000/podman
:
Permissions Size User Group Date Modified Name
srw-rw---- - tornax users 26 Sep 14:29 podman.sock
Does anyone know how to fix that?