Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Container locally results in failure #34

Open
scetron opened this issue Aug 20, 2021 · 1 comment
Open

Building Container locally results in failure #34

scetron opened this issue Aug 20, 2021 · 1 comment

Comments

@scetron
Copy link

scetron commented Aug 20, 2021

From the latest git repo, I am getting an issue when attempting to build the container locally.

 612006e7 @(#) $OpenLDAP: slapd  (Feb 14 2021 18:32:34) $
ldap-test |     Debian OpenLDAP Maintainers <[email protected]>
ldap-test | 612006e7 hdb_db_open: database "dc=planetexpress,dc=com": database already in use.
ldap-test | 612006e7 backend_startup_one (type=hdb, suffix="dc=planetexpress,dc=com"): bi_db_open failed! (-1)
ldap-test | 612006e7 slapd stopped.

I have not changed anything aside from altering the docker-compose.yml

version: '2'

services:
    ldap:
        container_name: ldap-test
        # use the image tag to pull directly from the repo
        # image: rroemhild/test-openldap
        environment:
            LDAP_FORCE_STARTTLS: "false"
            LDAP_DOMAIN: "planetexpress.com"
            LDAP_BASEDN: "dc=planetexpress,dc=com"
            LDAP_ORGANISATION: "Planet Express, Inc."
            LDAP_BINDDN: "cn=admin,dc=planetexpress,dc=com"
        # use build tag to use the local repo
        build:
            context: ./
            dockerfile: ./Dockerfile
        ports:
            - '10389:10389'
            - '10636:10636'
        volumes:
            - data_volume:/var/lib/ldap/
volumes:
   data_volume:

Any insight would be appreciated.

@rroemhild
Copy link
Owner

Hi, you may want to test tag 2.2. Sorry I don't have the time to deal with the problem at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants