Docs: Update the Podman Desktop docs for macOS

In order to access our custom seccomp policy, we require it to be
mounted on the podman machine.

Co-Author: Alex Pyrgiotis <alex.p@freedom.press>
This commit is contained in:
Alexis Métaireau 2025-04-09 11:56:11 +02:00
parent 6cd706af10
commit 4014c8591b
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -12,7 +12,20 @@ You will be required to open a terminal and follow these steps:
## On macOS
To set the container runtime to podman, use this command:
You will need to configure podman to access the shared Dangerzone resources:
```bash
podman machine stop
podman machine rm
cat > ~/.config/containers/containers.conf <<EOF
[machine]
volumes = ["/Users:/Users", "/private:/private", "/var/folders:/var/folders", "/Applications/Dangerzone.app:/Applications/Dangerzone.app"]
EOF
podman machine init
podman machine set --rootful=false
podman machine start
```
Then, set the container runtime to podman using this command:
```bash
/Applications/Dangerzone.app/Contents/MacOS/dangerzone-cli --set-container-runtime podman