mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #411] Docker: Unable to run as non-root user #237
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#237
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 @rcdailey on GitHub (Feb 23, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/411
Using the
latesttag as of today (2/23/2019), I'm unable to launch the docker image provided by @mprasil. I get this error afterdocker-compose run:My
docker-compose.ymlis as follows:And yes, the permissions of my
./datadirectory are set properly. The same user referred to byUIDandGIDalso owns the./datadirectory.@mprasil commented on GitHub (Feb 23, 2019):
Please see #287. You're definitely missing environment variable
ROCKET_PORTset to something above1024(only root can bind to first1024ports) and it seems like you also might need to addDATA_FOLDERset to/data.Hope that helps, please continue any discussion under #287 to avoid duplicates.
@rcdailey commented on GitHub (Feb 23, 2019):
@mprasil Thank you, I will try what you have suggested. Could you please update your README to document these environment variables? https://hub.docker.com/r/mprasil/bitwarden
@rcdailey commented on GitHub (Feb 23, 2019):
For anyone else that comes across this, this
docker-compose.ymlworks with non-root user. I also have it set up to share my reverse proxy network so I can forward requests from NGINX to Bitwarden: