brew cask install virtualbox
curl -L https://github.com/boot2podman/machine/releases/download/v0.17/podman-machine.darwin-amd64 --output /usr/local/bin/podman-machine
sudo chmod +x /usr/local/bin/podman-machine
podman-machine create --virtualbox-boot2podman-url \
https://github.com/snowjet/boot2podman-fedora-iso/releases/download/d1bb19f/boot2podman-fedora.iso \
--virtualbox-memory="4096" \
--virtualbox-share-folder ~/Code:code \
box
# now test
podman-machine ssh box -- sudo podman version
The defacto Mac client from brew cask install podman
didn't work for me. I use podman-remote-darwin
from this fork
curl -L https://github.com/boot2podman/libpod/releases/download/v1.6.5/podman-remote-darwin --output /usr/local/bin/podman-remote-darwin
sudo chmod +x /usr/local/bin/podman-remote-darwin
Add this to .zshrc
/ .bash_profile
/ config.fish
eval $(podman-machine env --varlink)
alias podman="podman-remote-darwin"
# alias docker="podman-remote-darwin"
Get the ip address from podman-machine ip box
192.168.99.101 podman-box
From here on out, curl podman-box
Hello world
Test drive with
SQLserver
with volume.At this time, I have adjusted VM's ram allocation to 4GB
It works!