[docs] Update Docker env setup with Colima
This commit is contained in:
parent
fe206a9f45
commit
7c9526be38
@ -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.
|
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
|
### Building the code
|
||||||
|
|
||||||
First obtain the code by cloning the Git repository:
|
First obtain the code by cloning the Git repository:
|
||||||
|
Loading…
Reference in New Issue
Block a user