mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #238] Cannot install with docker #84
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#84
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 @Pablohn26 on GitHub (Jul 12, 2022).
Original GitHub issue: https://github.com/lldap/lldap/issues/238
When I am trying to install with docker I get the following error:
my main folder contains the following folder and files:
and I have tried using a volume (
- "lldap_data:/data") and using a local folder (- "./lldap_data:/data")Environment
OS: Ubuntu 20.04.4 LTS
Docker Compose version v2.6.1
@Pablohn26 commented on GitHub (Jul 12, 2022):
I make it work using a local folder and running
Maybe there is a permission problem when running docker-compose using
sudo.How could we make it work using a volume?
@nitnelave commented on GitHub (Jul 12, 2022):
I think that should help: https://serverfault.com/questions/984578/change-permissions-for-named-volumes-in-docker
@nitnelave commented on GitHub (Jul 15, 2022):
Did that work for you?
@philskents commented on GitHub (Jul 20, 2022):
I am getting the same issue with no sudo.
The issue is resolved if I set user to 0:0
UPDATE: I think I may have a fix, I am testing a new dockerfile locally and I will open a PR if it works
@nitnelave commented on GitHub (Aug 2, 2022):
Any news here?
@Pablohn26 commented on GitHub (Aug 4, 2022):
I would go with option 1 if possible, rather than launching commands to fix permissions.
@philskents did your fix work?
@martadinata666 commented on GitHub (Aug 4, 2022):
Start from scratch should fix this, as the build already fix volume permission, and set
/datapath permission correctly. If there is volume left kindly remove it first then recreate the container. if this:stabletag then it still need manually createpathuser 1000:1000 is the default, otherwise specifiyuser: ####:####@nitnelave commented on GitHub (Nov 10, 2022):
I think the issue was solved.