Feature: ryuk should be able to use TCP socket to connect to Docker engine API
Opened this issue · 0 comments
snowflyak commented
What are you trying to do?
I'm trying to run testcontainers on a host with Docker Engine API exposed via TCP socket instead of a Unix socket. Testcontainers run fine but ryuk fails to start because it wants to bind mount /var/run/docker.sock into container.
Using unix socket and bind mounts is hardcoded here:
testcontainers-python/core/testcontainers/core/container.py
Lines 285 to 293 in e7feb53
Supporting mTLS TCP sockets would also be cool. mTLS support may be split off into another issue though.
Other references:
- Similar issue in testcontainers-java: testcontainers/testcontainers-java#9137