Hi :wave::skin-tone-4: I have the following defini...
# k3s
c
Hi 👋🏽 I have the following definition to start k3s using Testcontainers project. Now, I would like k3s to have access to the images in my host. In order to do that I have added
tmpFsMapping.put("/var/run", "");
mount the socket with
withFileSystemBind(DockerClientFactory.instance().getRemoteDockerUnixSocketPath(), "/var/run/docker.sock");
and
--docker
flag in the command. I can confirm I can see the images but when trying to deploy a pod then I got
/var/lib/docker/containers/083d839e1c4e69f7d46d6403ba7442b011166f7285369fe02c4c3dfe1ba9249a/resolv.conf\ does not exist"
and the app is not deployed, without those changes everything works fine. Can you help me with this, please? https://github.com/testcontainers/testcontainers-java/blob/main/modules/k3s/src/main/java/org/testcontainers/k3s/K3sContainer.java#L37-L50 TIA!