Struggling to Run FreeIPA Docker Container – Need Help!

0
3
Asked By TechWhiz101 On

I'm having trouble running a FreeIPA docker container on both PhotonOS and Rocky 9. When I try to start the container using the command: `docker run --name freeipa-server --privileged --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /srv/freeipa-data:/data -h ipa.example.test -e IPA_SERVER_IP=192.168.0.36 -ti freeipa/freeipa-server:rocky-9`, I keep getting this output:

`Using stored hostname ipa.home.lab, ignoring .`
`Detected virtualization container-other.`
`Failed to create /init.scope control group: Read-only file system`
`Exiting PID 1...`

It seems like the filesystem is read-only and that's causing the failure. Does anyone have any advice on how to fix this? Any help is appreciated!

4 Answers

Answered By ContainerNerd64 On

Have you tried running other Docker images, like Nginx? If those work fine, then the issue is likely specific to the FreeIPA image. It’d be best to reach out to the creators of that image for support.

TechWhiz101 -

Good point! I'll reach out to them for more specific guidance.

Answered By VMExplorer3 On

If all else fails, consider just installing FreeIPA in a VM instead of using Docker. It might circumvent these issues entirely!

TechWhiz101 -

I tried that, but I hit a different error when logging in as admin. Seems like I’m just cursed with errors today!

Answered By VolumeMaster88 On

You might want to check your volume settings. When I set up FreeIPA last, I remember having to configure an external volume and create an initial configuration file to kick it off. If I can find my notes, I may have some steps that could help. You can also pass options as environment variables, which might simplify things for you.

Answered By DockerDude92 On

It looks like your issue stems from the filesystem being read-only, which prevents the image from creating necessary objects like init.scope. Unfortunately, I can't provide much support for specific images. You might want to check out discussions on FreeIPA's GitHub or forums focused on that project for more targeted help. Might be your best bet!

CuriousCoder7 -

Yeah, I think that's a solid idea. I'll start searching for installation guides or forums discussing this specific container.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.