14 lines
617 B
Bash
Executable file
14 lines
617 B
Bash
Executable file
#! /usr/bin/sh
|
|
|
|
docker run --rm -ti \
|
|
--env WAYLAND_DISPLAY \
|
|
--env XDG_RUNTIME_DIR=/tmp \
|
|
--hostname localhost \
|
|
--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 \
|
|
--network none \
|
|
--privileged=true \
|
|
vaulter:latest \
|
|
--execute '(set-frame-name "Vault Editor")'
|