https://github.com/kubernetes/minikube/issues/13545
For some reason, after updating the macOS docker version, it doesn't create the /var/run/docker.sock file anymore. Creating a symlink is a hacky way and not recommended.
My solution is to set the $DOCKER_HOST environment variable:
export DOCKER_HOST=unix:///Users/<USER>/.docker/run/docker.sock
or add it to .zshrc:
echo "export DOCKER_HOST=unix:///Users/<USER>/.docker/run/docker.sock" >> ~/.zshrc
or add it in the IntelliJ run configuration.
No comments:
Post a Comment