-
Hi, My current host is Ubuntu Linux 24.04 and I am using distrobox to set up a Docker container for development. That container is based on openSUSE Tumbleweed, but that is less important. Inside my dev docker container, I want to run testcontainers-java based tests. When I run the test using Maven, I get the following
I have the docker socket mounted in the dev container
Additionally (and maybe confusingly), the docker command in my dev container delegates to the host docker command. But, as far as I understand, that should not matter to testcontainers-java.
How can I fix this or debug this further? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I did the following changes to fix the setup:
After existing and re-entering the container I could run the tests as expected. |
Beta Was this translation helpful? Give feedback.
I did the following changes to fix the setup:
stat /var/run/docker.sock
)sudo groupadd -g 125 hostdocker
)sudo usermod -aG 125 $USER
)After existing and re-entering the container I could run the tests as expected.