Skip to content

Commit

Permalink
Update docs/examples/compose.md
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Wittek <[email protected]>
  • Loading branch information
HofmeisterAn and kiview authored Jan 16, 2023
1 parent d5fe893 commit d73f84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Docker Desktop

To use Docker's Compose tool to build and run a Testcontainers environment in a Docker Desktop Wormhole configuration,
it is necessary to override Testcontainers Docker host resolution and set the environment variable `TESTCONTAINERS_HOST_OVERRIDE` to `host.docker.internal`.
it is necessary to override Testcontainers' Docker host resolution and set the environment variable `TESTCONTAINERS_HOST_OVERRIDE` to `host.docker.internal`.
Otherwise, Testcontainers cannot access sibling containers like the Resource Reaper Ryuk or other services running on the Docker's host.
A minimal `docker-compose.yml` file that builds a new container image and runs the test inside the container look something like:

Expand Down

0 comments on commit d73f84d

Please sign in to comment.