File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,14 @@ jobs:
4343 run : |
4444 # Install dependencies
4545 brew install podman qemu
46- # Configure Podman to use QEMU
47- mkdir -p ~/.config/containers
48- cat <<EOF > ~/.config/containers/containers.conf
49- [engine]
50- machine_provider = "qemu"
51- EOF
46+ # Force QEMU usage (bypass vfkit)
47+ export CONTAINERS_MACHINE_PROVIDER=qemu
5248 # Initialize and start VM
53- podman machine init --cpus 2 --memory 2048 --disk-size 20 -- now
49+ podman machine init --cpus 2 --memory 2048 --now
5450 podman system connection default podman-machine-default-root
55- # Set up Docker alias
56- sudo ln -sf $(which podman) /usr/local/bin/docker
51+ # Set up Docker compatibility
52+ echo "alias docker=podman" >> ~/.bashrc
53+ source ~/.bashrc
5754 # Test Docker
5855 docker --version
5956 - name : Set up Docker in macOS
You can’t perform that action at this time.
0 commit comments