Hey everyone, I’m trying to expose the rootless Docker API socket trough TCP and I’m having a hard time figuring out what I need to do to have it working.
This is my current config for docker:
virtualisation = {
docker = {
enable = true;
autoPrune = {
enable = true;
dates = "weekly";
};
rootless = {
enable = true;
setSocketVariable = true;
};
daemon.settings = {
ipv6 = false;
};
};
};
I’ve tried adding the hosts to the rootless.daemon.settings, but it didn’t seem to do anything
hosts = [
"unix:///run/user/1000/docker.sock"
"tcp://0.0.0.0:2375"
];
Any suggestions?