From 7d76ded0a50a4db85e93c0b12fc979ee70e1f587 Mon Sep 17 00:00:00 2001 From: Sky Date: Tue, 7 Apr 2026 11:59:31 -0400 Subject: [PATCH] squash to signed commit fix: podman current user container policy fix: instructions to create config dir fix trailing whitespace --- content/FAQ.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/content/FAQ.md b/content/FAQ.md index 3936df7..550fa20 100644 --- a/content/FAQ.md +++ b/content/FAQ.md @@ -349,7 +349,14 @@ To manage container policy, you can use [`podman image trust`](https://docs.podm run0 podman image trust set -t accept registry.fedoraproject.org/fedora ``` -The same command without `run0` will set this policy for the current user only. +To set this policy for the current user only, you should run: + +```sh +mkdir -p ~/.config/containers +cp /usr/etc/containers/policy.json ~/.config/containers/policy.json +``` + +Then, you can edit `~/.config/containers/policy.json`. Be aware that any configuration at `~/.config/containers/policy.json` will override the entire system config for the current user. To reset container policy to the system default, run: