My experience on Mac:
- colima: Testcontainers cannot connect to the containers when the tests are ran from the command line (I have env vars DOCKER_HOST=unix:///Users/dxxvi/.colima/docker.sock and TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock). However, the same tests ran fine in IntelliJ.
- Docker Desktop: doesn't have the above issue.
Maybe this was a typo in your comment, but you should double check to make sure that DOCKER_HOST is set to `unix:///Users/dxxvi/.colima/default/docker.sock` (missing `default` in your line)
I just verified running Testcontainers tests via CLI with those env vars you posted. YMMV
For several months I've used colima. It seems more performant, and I really don't need the UI. That said, my use cases are pretty basic (mostly just web apps with Docker Compose)
LeBit|2 years ago
I think VirtioFS fixed most unbearable fs slowness.
But Rancher Desktop also got better and I just cannot understand why I would use Docker for Desktop instead of the Open Sourced Rancher Desktop.
dxxvi|2 years ago
Don't know why.
dangets|2 years ago
I just verified running Testcontainers tests via CLI with those env vars you posted. YMMV
maccard|2 years ago
bdcravens|2 years ago