pip install -e .
This will install a script called docker. You want to ensure that it's first on your path,
ahead of the docker executable.
First, you need to ensure you've got sshd enabled on your Mac:
-
open the "System Preferences" panel
-
select the "Sharing" group:
-
activate "Remote Login":
-
select "only these users":
-
Hit the "+" button and add yourself.
This uses the installation that is supplied by brew:
brew install podman
podman machine init --cpus 4 --disk-size 50 --memory 8192
podman machine startUse the supplied script:
podman-mount-shimThis script will not exit; you can ^C out of it when you're done. It sets up an ssh connection
to the podman machine, over which an sshfs connection is tunneled back to the Mac. Fair warning:
your entire home directory is then mounted using this into the podman VM.
docker use podmandocker run -ti --rm -v $HOME/src:/src oraclelinux:7-slimThe script intercepts -v flags and (crudely) rewrites them to point at the sshfs-mounted
directory.
... and that's it. Be warned: this is decidedly alpha quality.
There's no docker-compose support (because I don't use it) - or anything else, for that matter. Seriously; it's just a ten-minute drive-by.


