Closed hooger closed 2 years ago
My problem was wrong ACL records. It looked like this:
- match:
account: /admin1|admin2/
actions: ["*"]
while it should look like this:
- match: {account: "admin1"}
actions: ["*"]
comment: "This will allow some authenticated users to pull/push"
- match: {account: "admin2"}
actions: ["*"]
comment: "This will allow some authenticated users to pull/push"
Sorry for the noise, good job with the sw! Best regards,
Hello all, I'm trying to use the docker container to have a docker repository with LDAP authentication. The following docker-compose.yml starts the process:
docker login <URL>
works, and I see it in the logs too, however when I try to push a local image, it fails with the log at the end of the issue. The command I use to login, tag the image and push are the following (URLs are removed):I have seen that there are some issues with the string
invalid memory address or nil pointer dereference
, however from the answers I got the feeling, that these issues are solved with the latest image. I also tried to increase the memory of the VM from 512MB to 1024MB, but it also does not help. What can be the problem? In case you need any more logs, or configurations I gladly send them, unfortunatelly I had to remove some sensitive data however, that may help the identification of the LDAP server. :(Thanks in advance!
That is the server side log, at the end, as this was huge. I had to remove some repeating msgs because of GH character limit.