mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #718] podman error on running bitwardenrs/server:latest #486
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#486
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/718
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 13, 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. 😄