Avatar
僕のlima on dockerセットアップ 1. install lima brew install lima 2. if docker for mac is not installed, install docker cli brew install docker docker-buildx docker-completion 3. create docker instance limactl create https://gist.githubusercontent.com/norio-nomura/9f8d469252a13adf2efdc49af0a47a30/raw/a700cc7261f8e782fd0b7c5373ef1201b5158a0d/lima.yaml --tty=false --name docker 4. enable boot dokcer instance at login limactl start-at-login --enabled docker 5. create "lima-docker" context to use docker context create lima-docker --docker host=$(limactl list docker --format 'unix://{{.Dir}}/sock/docker.sock') 6. use "lima-docker" as default context docker context use lima-docker https://gist.github.com/norio-nomura/9f8d469252a13adf2efdc49af0a47a30 (edited)