overview
docker desktopを利用しないでdockerを利用する設定
installation
docker engine
docker compose v2
$ DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
$ mkdir -p $DOCKER_CONFIG/cli-plugins
$ curl -SL ${URL_OF_DARWIN} $DOCKER_CONFIG/cli-plugins/docker-compose
$ chmod 755 $DOCKER_CONFIG/cli-plugins/docker-compose
env
zsh
export DOCKER_HOST=unix:///${SOCK_DIR}/docker.sock
export DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}