For a test setup I try to get running a FreeIPA server within a docker
container(DinD).
But I get some errors and I don't know why.
1. Create docker in docker container
=> docker run --privileged -itd --name docker_swarm -v
/sys/fs/cgroup:/sys/fs/cgroup docker
2. Connect to docker container and run the FreeIPA server
=> docker exec -it docker_swarm \
sh -c "docker run --sysctl net.ipv6.conf.all.disable_ipv6=0
--privileged=true --name ipa -ti -h ipa.example.test --cgroupns=host \
-v /sys/fs/cgroup:/sys/fs/cgroup:rw -v /tmp/freeipa-data:/data
freeipa/freeipa-server:fedora-38-4.10.2 --skip-mem-check --no-ntp"
The error I get is:
docker: Error response from daemon: failed to create task for container: failed
to create shim task: OCI runtime create failed: runc create failed: unable to
start container process: unable to apply cgroup configuration: failed to write
670: write
/sys/fs/cgroup/docker/3c2cc48a075d3f62143d70718aefe4c55938e4332262894e67f31328eaa5a006/cgroup.procs:
no such file or directory: unknown.
ERRO[0038] error waiting for container:
The command is working outside of Docker in Docker.
Maybe it is possible to deactivated all the cgroups stuff? I don't need all
features of FreeIPA just certificates, authentication(LDAP), DNS, ...
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue