nix-configs/nixos-modules/docker-dind.nix

23 lines
436 B
Nix
Raw Normal View History

2024-10-01 17:42:47 -04:00
{
virtualisation = {
containers.enable = true;
podman.enable = true;
oci-containers.containers = {
docker_dind = {
image = "docker.io/library/docker:dind";
cmd = [
"dockerd"
"-H"
"tcp://0.0.0.0:2375"
"--tls=false"
];
extraOptions = [
"--pull=newer"
"--privileged"
"--network=www"
];
};
};
};
}