Git Product home page Git Product logo

Comments (6)

 avatar commented on August 28, 2024

Hello,
sleep 3 was added to let slapd terminate properly after the kill command, and before being restarted by daemon.sh

This is already fixed in the next release (1.0.1)
https://github.com/osixia/docker-openldap/tree/hotfix-1.0.1

the error come from light-baseimage 0.1.0 that terminate when term signals are throwned. By kill -INT $SLAPD_PID in this case.

I will probably release the fixed version 1.0.1 this friday :)

from docker-openldap.

atomaka avatar atomaka commented on August 28, 2024

Thanks for the details @osixia!

from docker-openldap.

atomaka avatar atomaka commented on August 28, 2024

@osixia any word on a 1.0.1 release?

from docker-openldap.

 avatar commented on August 28, 2024

I just push it,
can you test and let me know if it solved the issue ?

By the way i think it's a good practice to set the image version in the docker-compose.yml file :
ldap:
image: osixia/openldap:1.0.1

If environment variables or default behavior change in the next release it will not break your config.

from docker-openldap.

atomaka avatar atomaka commented on August 28, 2024

It looks like this fixed the issue. Thanks, @osixia.

from docker-openldap.

yoesoff avatar yoesoff commented on August 28, 2024

Hi @osixia , I do know why this won't work with docker-compose, even after I use osixia/openldap:1.0.2.
here is my docker-compose.yml :
...
openldap:
image: osixia/openldap:1.0.2
ports:
- "389:389"
environment:
- LDAP_ORGANISATION=myorg
- LDAP_DOMAIN=myorg.com.au
- LDAP_ADMIN_PASSWORD=password

the problem is it keep stuck/stop at "Pulling repository docker.io/osixia/openldap", here is the detail :

Pulling openldap (osixia/openldap:1.0.2)...
1.0.2: Pulling from osixia/openldap
f4035ccd552a: Pull complete
09e853d45374: Pull complete
1887be597057: Pull complete
b36790f4fd7c: Pull complete
307c8081e6ee: Pull complete
a69db075c744: Pulling fs layer
caaf8d37abdb: Download complete
52769789ae54: Pulling fs layer
d2be0405195d: Download complete
0c65abd21d4f: Download complete
cfbcb41a5d50: Download complete
9a7f68422403: Pulling fs layer
3627a08de6df: Pulling fs layer
3627a08de6df: Layer already being pulled by another client. Waiting.
9a61b6b1315e: Already exists
Pulling repository docker.io/osixia/openldap

any suggestions for this ?
thank

*solved by removing all downloaded images

from docker-openldap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.