Skip to content

Commit

Permalink
Add podman example
Browse files Browse the repository at this point in the history
  • Loading branch information
lixmal committed Nov 22, 2024
1 parent 3c6db6d commit aa99fb9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,23 @@ This is best achieved by running rootless containers with a dedicated user for k
- [Docker](https://docs.docker.com/engine/security/rootless/)
- [podman](https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md)

Example:
Example docker:

docker run \
-p 8080:8080 -v ./config.yml:/conf/config.yml \
-v ./tests/test.kdbx:/db.kdbx \
--security-opt seccomp=seccomp/keyring.json \
ghcr.io/lixmal/keepass4web-rs:master

Example podman:

podman run \
--userns=keep-id \
-p 8080:8080 -v ./config.yml:/conf/config.yml \
-v ./tests/test.kdbx:/db.kdbx \
--security-opt seccomp=seccomp/keyring.json \
ghcr.io/lixmal/keepass4web-rs:master

(master password: `test`)

### Classic
Expand Down

0 comments on commit aa99fb9

Please sign in to comment.