LoginSignup
2
3

【メモ】Docker DesktopからColimaに乗り換える

Last updated at Posted at 2023-03-30

乗り換える

# 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
2
3
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
2
3