Created
August 19, 2023 03:52
-
-
Save davidmroth/8d32ee8a039d562159f0614b7b7b9e8f to your computer and use it in GitHub Desktop.
Connect Docker Desktop to Multipass (MacOS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
// In multipass, do `export DOCKER_HOST:192.168.64.1:2375` | |
docker run -v /var/run/docker.sock:/var/run/docker.sock -p 2375:2375 --restart=always -d bobrik/socat TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment