docker-openldap icon indicating copy to clipboard operation
docker-openldap copied to clipboard

Unable to start docker container after running

Open dchicchon opened this issue 2 years ago • 0 comments

I ran this:

docker run -p 389:389 \
   --platform linux/amd64 \
    --name ldap-service \
    --hostname ldap-service \
    --detach osixia/openldap:1.1.9

After starting container, I keep getting an newosproc error. I'm running this while using an M1 chip

No certificate file and certificate key provided, generate:
/container/service/slapd/assets/certs/ldap.crt and /container/service/slapd/assets/certs/ldap.key
runtime: failed to create new OS thread (have 2 already; errno=22)
fatal error: newosproc
runtime: failed to create new OS thread (have 2 already; errno=22)
fatal error: newosproc

runtime stack:
runtime.throw(0x54c470, 0x9)

runtime stack:
        /usr/local/go/src/runtime/panic.go:530 +0x90
runtime.newosproc(0xc820034000, 0xc820043fc0)

dchicchon avatar Aug 03 '22 18:08 dchicchon