Welcome to my Docker Library, a storage place for my assets related to my journey around Containers' Land
References |
---|
- Since Docker runtime was deprecated in Kubernetes version 1.20 (Kubernetes is deprecating Docker as a container runtime after v1.20.), I made the
Makefile
to be compatible also with containerd/nerdctl container engine. (See How To Replace Docker With nerdctl And Rancher Desktop - DevOps ToolKit) - Docker images are uploaded to the following registries via GitHub Actions:
- Copy the
.env.example
file to.env
and edit the variables to your needs. - To pass additional Environment Variables during the execution of the container use
.docker/docker.env
file.
- Naming convention:
<image-name>.<image-distro>.<build-arch-type>
<build-arch-type>
:m1
(ARM64) vsx86
- Why? Docker on M1 Max - Horrible Performance, running x86 Image built into a M1 host requires
--platform linux/amd64
is Despite it, the performance won't be good. Solutions: - As Base Image use Arm Docker images instead of default x86/amd64
- Build the image from the source in the M1 host.
- Why? Docker on M1 Max - Horrible Performance, running x86 Image built into a M1 host requires
Images for DevOps Tooling demos.
- asdf
- Rootless images how to share Mounts with the host:
Image for Load Testing including stress and stress-ng
Image for Ldap mock testing extending from osixia/docker-openldap. Ref Build an OpenLDAP Docker Image That’s Populated With Users
Configuration examples:
- JXExplorer: Use for troubleshooting purposes. For Kubernetes use [port-fowarding
- Jenkins (JCasC). It assumes
ldap-service
as the name of the service andkube-system
as the namespace.
jenkins:
securityRealm:
ldap:
configurations:
- managerDN: "cn=admin,dc=acme,dc=org"
managerPasswordSecret: "admin"
rootDN: "dc=acme,dc=org"
server: "ldap-service.NAMESPACE_EXAMPLE.svc.cluster.local"
userSearch: "cn={0}"
- Do not copy data into
/container/service/slapd/assets/config/bootstrap/ldif
- Add the users/groups with the following command:
ldapadd -h localhost -p 389 -c -x -D cn=admin,dc=acme,dc=org -W -f data.v3.ldif