File tree 1 file changed +6
-9
lines changed
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,14 @@ jobs:
43
43
run : |
44
44
# Install dependencies
45
45
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
52
48
# 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
54
50
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
57
54
# Test Docker
58
55
docker --version
59
56
- name : Set up Docker in macOS
You can’t perform that action at this time.
0 commit comments