Comments (5)
Thanks for this info. I think I should change the container registry to i.e. GitHub. It seems that with docker hub in the free plan it is no longer possible to start a rebuild from the image.
from docker-test-openldap.
Another solution would be to create cert everytime it start.. Or maybe have special command which users can run..
eg. docker run -v path_for_certs:/etc/ldap/ssl rroemhild/test-openldap generate_certs.sh
and then mount it to normal image :)
from docker-test-openldap.
Yes a new working image would be great. The image from docker hub works great for simple testing.
We build the image our self with some changes for the users and groups and its not starting up with the current Dockerfile.
Atm the project seems broken.
from docker-test-openldap.
The certificate should be created with rootfs/etc/cont-init.d/010-tls-certificates
on every new container.
Output from docker run:
[cont-init.d] 010-tls-certificates: executing...
+ [[ -f /etc/ldap/ssl/ldap.key ]]
Make self-signed certificate for planetexpress.com...
+ echo 'Make self-signed certificate for planetexpress.com...'
+ openssl req -subj /CN=planetexpress.com -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /etc/ldap/ssl/ldap.key -out /etc/ldap/ssl/ldap.crt
Generating a RSA private key
.....................................+++++
.................................+++++
writing new private key to '/etc/ldap/ssl/ldap.key'
-----
+ chmod 600 /etc/ldap/ssl/ldap.key
[cont-init.d] 010-tls-certificates: exited 0
from docker-test-openldap.
I've tried to run new container, but it's not recreated:
# podman run --rm --name ldap-test -p 11389:10389 -p 11636:10636 -e LDAP_BASEDN="dc=planetexpress,dc=com" docker.io/rroemhild/test-openldap
63591fe5 @(#) $OpenLDAP: slapd (Feb 14 2021 18:32:34) $
Debian OpenLDAP Maintainers <[email protected]>
63591fe6 slapd starting
from docker-test-openldap.
Related Issues (20)
- Accumulation of console logs HOT 1
- Running a image fails as below output HOT 2
- What is the fqdn ?
- Building Container locally results in failure HOT 1
- gidNumber
- Disable TLS version below 1.2 not working
- Change bind HOT 3
- What is the Group Search Base? HOT 2
- Trying to build image locally - bash error HOT 2
- Slapd fails to start with new build image HOT 4
- memberOf overlay didn't put memberOf attributes on user records HOT 1
- What password encoding algorithm is used for hashing password?
- Mapping /var/lib/ldap to a local directory starts container with empty data HOT 1
- ldapsearch not connecting HOT 1
- arm architecture
- Bootstrap script breaks due to non-set environment variables
- Start of slapd in Docker image fails with core dump HOT 2
- Question : lastLogonTimestamp not available
- Infinite loop after restart HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-test-openldap.