testcontainers-go
testcontainers-go copied to clipboard
feat: Add optional container user namespace for Ryuk
What does this PR do?
Users can configure which container user namespace to use for the Ryuk container by setting the TESTCONTAINERS_RYUK_CONTAINER_USER_NAMESPACE environment variable, or the ryuk.container.user.namespace property.
Why is it important?
required for the following error.
docker: Error response from daemon: privileged mode is incompatible to user namespaces. You must run the container in the host namespace when running privileged mode'
Related issues
Closes #2684