From 7c9526be38b9b0100e8b4a73705a0f6c6f064bf0 Mon Sep 17 00:00:00 2001 From: Minh Son Nguyen Date: Fri, 2 Aug 2024 14:24:32 +0300 Subject: [PATCH] [docs] Update Docker env setup with Colima --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index ae0dcca31..5378cae33 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,15 @@ The Docker Maven Plugin will resolve the docker host by checking the following e These can be set automatically if using Docker Machine or something similar. +#### Colima +In order to run testcontainers against [colima](https://github.com/abiosoft/colima) the env vars below should be set (assume we use `default` profile of colima) + + colima start + export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock + export TESTCONTAINERS_HOST_OVERRIDE="0.0.0.0" + export DOCKER_HOST="unix://${HOME}/.colima/default/docker.sock" + + ### Building the code First obtain the code by cloning the Git repository: