mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
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:
parent
6cd706af10
commit
4014c8591b
1 changed files with 14 additions and 1 deletions
|
@ -12,7 +12,20 @@ You will be required to open a terminal and follow these steps:
|
||||||
|
|
||||||
## On macOS
|
## 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
|
```bash
|
||||||
/Applications/Dangerzone.app/Contents/MacOS/dangerzone-cli --set-container-runtime podman
|
/Applications/Dangerzone.app/Contents/MacOS/dangerzone-cli --set-container-runtime podman
|
||||||
|
|
Loading…
Reference in a new issue