I have a discussion with our DevOps about using Testcontainers for integration tests. It's a tool to bring up throw-away containers for testing. The testcontainers need a environment variable DOCKER_HOST=tcp://127.0.0.1:2375
to communicate with Docker.
He refuses to set this environment variable explaining to me that he don't want to application communicate with Docker for security reasons.
I've make a point that tool is designed to interact with Docker when running tests.
So here is my questions:
- Are there security considerations in this regard?
- What more convincing arguments can I bring?