abiosoft / abiosoft/colima

No easy way to configure Colima to use the default Docker socket

Aperta
#365 12 commenti 3 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Go
Stelle
30.8k
Fork
613
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Description

On my work mac I was trying Colima, and had to remove my old Docker Desktop socket and symlink Colima's socket - the issue & fix are documented [here](https://github.com/abiosoft/colima/issues/71#issuecomment-1048749674). My docker socket clash was also from testcontainers.

On my personal mac I was trying `act` to run GitHub Actions locally, and got
```
ERRO[0000] failed to obtain container engine info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
...
Error: Error occurred running finally: Error occurred running finally: failed to list containers: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (original error: ) (original error: unable to determine if image already exists for image 'ghcr.io/catthehacker/ubuntu:act-latest' (): Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?)
```

So I'm 2 for 2 on needing to delete the old socket and symlink Colima's.
It seems very common for tools to point to that socket file.

My feature request is that it'd be great if Colima would either 1. _just make it work_ on installation, or prompt and suggest to let it do the fix for you. Actually, is it even worth asking?

If we can remove this snagging point, it'd make the early user experience a lot smoother. The project descripition is after all:

> Container runtimes on macOS (and Linux) with _minimal setup_

I've had no other issues/requests so far - it's been working great for a few days!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.