乗り換える
# Docker for Macを消す
# brewでdockerdesktopをinstallしてなかったらhttps://docs.docker.com/desktop/uninstall/をみてアンインストール
brew uninstall --casks docker
colimaインストール
# docker と docker-composeも必要なのでもし入ってないなら一緒にいれる
brew install colima docker docker-compose
起動
colima start
あとはdocker,docker-composeを利用する
以下のエラーでたら
[+] Running 0/0
⠋ xxx Pulling 0.0s
error getting credentials - err: docker-credential-desktop resolves to executable in current directory (./docker-credential-desktop), out: ``
configを消す
rm ~/.docker/config.json
ColimaでもBuildxをつかう
こちらより
brew install docker-buildx
mkdir ~/.docker/cli-plugins
ln -sfn $(which docker-buildx) ~/.docker/cli-plugins/docker-buildx
docker buildx install