From 6fdeac1fd07c5f71c6973ea8da3f2daef9b14b00 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:46:58 +0300 Subject: [PATCH] Improve podman usage for vault containers --- .local/bin/vaulter | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.local/bin/vaulter b/.local/bin/vaulter index da5d8b7..58b6bb1 100755 --- a/.local/bin/vaulter +++ b/.local/bin/vaulter @@ -4,11 +4,9 @@ podman --transient-store run --rm -ti \ --env WAYLAND_DISPLAY \ --env XDG_RUNTIME_DIR=/tmp \ --hostname localhost \ - --userns=keep-id \ --mount type=bind,source="${XDG_RUNTIME_DIR}"/"${WAYLAND_DISPLAY}",target=/tmp/"${WAYLAND_DISPLAY}" \ - --mount type=bind,readonly=true,source="${HOME}"/.keys/vaults,target=/home/user/.age/key \ - --mount type=bind,readonly=true,source="${HOME}"/.keys/vaults.pub,target=/home/user/.age/key.pub \ - --mount type=bind,source="${HOME}"/Vaults,target=/home/user/Vaults \ + --mount type=bind,readonly=true,source="${HOME}"/.keys/vaults,target=/root/.age/key \ + --mount type=bind,readonly=true,source="${HOME}"/.keys/vaults.pub,target=/root/.age/key.pub \ + --mount type=bind,source="${HOME}"/Vaults,target=/root/Vaults \ --network none \ - vaulter:latest \ - --execute '(set-frame-name "Vault Editor")' + vaulter:latest