1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

colimaをuninstallしても、`Cannot connect to the Docker daemon at unix:///Users/mynameisok/.colima/docker.sock. Is the docker daemon running?`出る場合

Last updated at Posted at 2022-04-05

colimaを試したあと、もともと動いていたDocker for Macを利用とすると、うまくできなかった。colima削除しても.

docker-compose up -dコマンド打つと、下記エラーがでるんで、どっかとの設定で変なところ見るようにになっているんだね

Cannot connect to the Docker daemon at unix:///Users/mynameisok/.colima/docker.sock. Is the docker daemon running?

結論、下記で curent contextを入れ直せばうまくいった:

$ docker context list
NAME                TYPE                DESCRIPTION                               DOCKER ENDPOINT                               KUBERNETES ENDPOINT   ORCHESTRATOR
colima *            moby                colima                                    unix:///Users/mynameisok/.colima/docker.sock
default             moby                Current DOCKER_HOST based configuration   unix:///var/run/docker.sock                                         swarm
desktop-linux       moby                                                          unix:///Users/mynameisok/.docker/run/docker.sock
$ docker context use default
default
$ docker context list
NAME                TYPE                DESCRIPTION                               DOCKER ENDPOINT                               KUBERNETES ENDPOINT   ORCHESTRATOR
colima              moby                colima                                    unix:///Users/mynameisok/.colima/docker.sock
default *           moby                Current DOCKER_HOST based configuration   unix:///var/run/docker.sock                                         swarm
desktop-linux       moby                                                          unix:///Users/mynameisok/.docker/run/docker.sock

参考にしたとこ

colimaのgithub readme
image.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?