mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
podman error on running bitwardenrs/server:latest #484
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gnu300 on GitHub (Nov 12, 2019).
Since Fedora 31 defaults to cgroupv2 [1] podman is one of the recommended alternatives. Unfortunately podman can't run bitwarden_rs:
In order to get the container running with podman you'll have to change:
CMD ["./bitwarden_rs"]to
CMD ./bitwarden_rsTested on Fedora 31 with podman version:
Version: 1.6.2
RemoteAPI Version: 1
Go Version: go1.13.1
OS/Arch: linux/amd64
[1] https://www.redhat.com/sysadmin/fedora-31-control-group-v2
@mprasil commented on GitHub (Nov 13, 2019):
Exec form of specifying
CMDis actually preferred according to official documentation. But maybe a slightly cleaner approach would be to setWORKDIR /andCMD ["/bitwarden_rs"]. (note the removed dot to make the path absolute)I can't reproduce your issue on my system, can you test above changes?
@gnu300 commented on GitHub (Nov 13, 2019):
With the suggested changes i am able to build and run the container with podman. Here is the PR for it. #720
Thanks!
@mprasil commented on GitHub (Nov 14, 2019):
I think we can close this with PR almost out of the door. Thanks for working on this and thanks for finally giving me good reason to install podman. 😄