docker-openldap
docker-openldap copied to clipboard
chown: cannot access '/container/service/slapd/install.sh': No such file or directory
I'm running docker in CentOS 7 and I want to use osixia/openldap
.
so I run docker run --name my-openldap-container osixia/openldap:1.5.0
but I get this ERROR :
*** INFO | 2021-05-12 14:36:39 | CONTAINER_LOG_LEVEL = 3 (info)
*** INFO | 2021-05-12 14:36:39 | Search service in CONTAINER_SERVICE_DIR = /container/service :
*** INFO | 2021-05-12 14:36:39 | link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools
*** INFO | 2021-05-12 14:36:39 | link /container/service/slapd/startup.sh to /container/run/startup/slapd
*** INFO | 2021-05-12 14:36:39 | link /container/service/slapd/process.sh to /container/run/process/slapd/run
*** INFO | 2021-05-12 14:36:39 | Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.startup.yaml
/container/environment/99-default/default.yaml
To see how this files are processed and environment variables values,
run this container with '--loglevel debug'
*** INFO | 2021-05-12 14:36:40 | Running /container/run/startup/:ssl-tools...
*** INFO | 2021-05-12 14:36:40 | Running /container/run/startup/slapd...
*** INFO | 2021-05-12 14:36:40 | openldap user and group adjustments
*** INFO | 2021-05-12 14:36:40 | get current openldap uid/gid info inside container
*** INFO | 2021-05-12 14:36:40 | -------------------------------------
*** INFO | 2021-05-12 14:36:40 | openldap GID/UID
*** INFO | 2021-05-12 14:36:40 | -------------------------------------
*** INFO | 2021-05-12 14:36:40 | User uid: 911
*** INFO | 2021-05-12 14:36:40 | User gid: 911
*** INFO | 2021-05-12 14:36:40 | uid/gid changed: false
*** INFO | 2021-05-12 14:36:40 | -------------------------------------
*** INFO | 2021-05-12 14:36:40 | updating file uid/gid ownership
chown: cannot access '/container/service/slapd/install.sh': No such file or directory
*** ERROR | 2021-05-12 14:36:41 | /container/run/startup/slapd failed with status 1
*** INFO | 2021-05-12 14:36:41 | Killing all processes...
docker version :
[root@bi-utils ldap]# docker version
Client: Docker Engine - Community
Version: 19.03.6
API version: 1.40
Go version: go1.12.16
Git commit: 369ce74a3c
Built: Thu Feb 13 01:29:29 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.6
API version: 1.40 (minimum version 1.12)
Go version: go1.12.16
Git commit: 369ce74a3c
Built: Thu Feb 13 01:28:07 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
Mark
Same here, any Update?