5 ms·
For anyone using Docker and thinking of trying out Fedora, here is a warning: Fedora uses cgroupsv2 to push things forward, but no Docker release supports it y
by kawsper 6y ago
For anyone using Docker and thinking of trying out Fedora, here is a warning:
Fedora uses cgroupsv2 to push things forward, but no Docker release supports it yet, it's in master[0], but there are no release in sight as there is no ETA.
[0] https://github.com/moby/moby/pull/40174 https://github.com/moby/moby/pull/40174
- danjac 6y agoWhat's the reason for no release/ETA?
- amarshall 6y agoAs an alternative, Podman works well, but some features may be missing. It does, however, allow running containers rootless and remove the need for a daemon. https://podman.io https://podman.io
- TrueDuality 6y agoI've made the switch entirely over to podman and haven't actually found any features to be missing besides docker-compose support, but their k8s style pods more or less have solved that for me. There is only one 'gotcha' that I've hit, when building images specifically for AWS's ECR or Docker Hub, you need to add the flag `--format=docker` to your build step. Quay and a few others don't have this issue.
- amarshall 6y agoThere is podman-compose, but it is most definitely missing features vs. docker-compose (as in whole subcommands are absent). I cannot remember what (if any) missing podman features remain, but I do run into occasional bugs and regressions with certain functionality. Curious you mention needing `--format=docker`; I’ve pushed images to Docker Hub without doing that without issue. https://github.com/containers/podman-compose https://github.com/containers/podman-compose
- TrueDuality 6y agoYou'll be able to successfully push the images without it. Tags you pushed won't properly show up in docker hub and clients will have issues pulling not just the tags but the layers. It's been a hot minute since I hit that issue, but I kind of doubt docker hub fixed it. I suspect fixing issues around OCI format images are fairly low priority for them.
- INTPenis 6y agoI have to add to this that I gave cgroupsv2 an honest chance, still use it on workstations. But on my homelab server I reverted back to cgroupsv1 because 1) Ansible does not yet support podman and 2) podman-compose does not fully support compose. It also confuses compose files with its native pod concept which makes things even more convoluted.
- deleted 6y ago[deleted]
- jayp1418 6y agoHow's box working on 33? Any incompatibility?
- bproven 6y agoYeah I wish docker would add support. For now I just disable cgroupsv2 via kernel param on my fedora laptop to get docker working.
- sendhilp 6y agoUsed this workaround successfully for Fedora 32 which turned on cgroupsv2 (haven't tested it on 33, but I imagine it works similarly): https://fedoramagazine.org/docker-and-fedora-32/ https://fedoramagazine.org/docker-and-fedora-32/ One small tweak to the article, for Step 2 I didn't need to use Moby in place of docker as by the time I set things up the `docker-ce` package was available for Fedora 32.
- pyrophane 6y agoYea, but you can enable the old cgroups pretty easily, and then it only require a couple of firewall instructions to get docker working. Edit: This still works in 33: https://fedoramagazine.org/docker-and-fedora-32/ https://fedoramagazine.org/docker-and-fedora-32/ The only difference between what they have here and what I do is that I install docker-ce from the 31 repo, as the seem to have some SELinux related change in there that doesn't require me to label volumes like installing moby-engine does.
- Szpadel 6y agotesting docker-ce repository contains release that support cgroupsv2
- bluedino 6y agoDocker was broken on Fedora 32 as well.
- maxk42 6y agoJust spent 24 hours grappling with docker issues on fedora 32. In the midst of these issues my OS prompts me to download F33 and I see the migration to btrfs. I no longer trust the Fedora maintainers.
- Gracana 6y agoSounds like you should be running Red Hat, not Fedora. RHEL has a 10 year support cycle, so you can wait for technologies to mature before you migrate to them.
- maxk42 6y agobtrfs is well over 10 years old and RHEL ditched support for it. My experience with it has not been positive.
- vondur 6y agoAs Fedora is the testing distro for RedHat Enterprise Linux, I’m guessing they are planning to use BTRFS in upcoming versions.
- freedomben 6y agoI wouldn't read that much into it. While a lot of Fedora people also work at Red Hat, Fedora really is a community project. It's quite possible that the community voted to use btrfs as the default file system, even though support is not planned for RHEL. That said the RHEL people will be paying attention. If btrfs proves successful, I could totally see it going into RHEL 9. Disclaimer: I work for Red Hat but not on Fedora. I'm just a happy Fedora community member for a little over 10 years now
- mattdm 6y agoNote that your existing system will not be migrated to BTRFS. I'm sorry to lose your trust. I think that comes from a misunderstanding about expectations. We want to provide a functional, usable system -- but we also are going to change things in new releases, and while we do weigh user impact, we're tilted towards bringing upstream innovation to users. That means we're likely to bring you things like cgroupsv2 sooner rather than later. If you have these expectations, I hope we're holding to them pretty well. See our mission and foundations page at https://docs.fedoraproject.org/en-US/project/ https://docs.fedoraproject.org/en-US/project/, and hopefully that will make things more clear.
- yamrzou 6y agoI switched to Podman, which comes by default with Fedora, no issues so far.