Skip to content

Commit a419840

Browse files
committed
Install Podman Desktop (includes proper VM setup)
1 parent effd64e commit a419840

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,10 @@ jobs:
4141
- name: Install Podman with QEMU in macOS
4242
if: matrix.os == 'macos-latest'
4343
run: |
44-
# Install dependencies
45-
brew install podman qemu
46-
# Force QEMU usage (bypass vfkit)
47-
export CONTAINERS_MACHINE_PROVIDER=qemu
48-
# Initialize and start VM
49-
podman machine init --cpus 2 --memory 2048 --now
50-
podman system connection default podman-machine-default-root
51-
# Set up Docker compatibility
52-
echo "alias docker=podman" >> ~/.bashrc
53-
source ~/.bashrc
54-
# Test Docker
44+
brew install --cask podman-desktop
45+
/Applications/Podman\ Desktop.app/Contents/Resources/podman-desktop podman machine start
46+
echo 'export PATH="$PATH:/Applications/Podman Desktop.app/Contents/Resources/podman-desktop/bin"' >> $GITHUB_ENV
47+
ln -s /Applications/Podman\ Desktop.app/Contents/Resources/podman-desktop/bin/podman /usr/local/bin/docker
5548
docker --version
5649
- name: Set up Docker in macOS
5750
if: matrix.os == 'macos-latest'

0 commit comments

Comments
 (0)