Skip to content

Commit 7fccb1e

Browse files
authored
Update README.rst
1 parent a8d4afb commit 7fccb1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ When trying to launch a testcontainer from within a Docker container, e.g., in c
7070
1. The container has to provide a docker client installation. Either use an image that has docker pre-installed (e.g. the `official docker images <https://hub.docker.com/_/docker>`_) or install the client from within the `Dockerfile` specification.
7171
2. The container has to have access to the docker daemon which can be achieved by mounting `/var/run/docker.sock` or setting the `DOCKER_HOST` environment variable as part of your `docker run` command.
7272

73+
By default, testcontainer will search for the container via the gateway IP. You can manually specify your own IP with the environment variable `TESTCONTAINERS_HOST_OVERRIDE`.
74+
7375
Development and Contributing
7476
----------------------------
7577

0 commit comments

Comments
 (0)