So containers have been standardized for a while now (OCI), and even if you install "docker" it's actually just installing containerd with docker-cli. For years kubernetes is not even supporting docker-shim anymore. So there should be no issue. What is even the problem you are running into?
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Just use podman, easy migration from docker.
It's definitely not an easy migration in my experience, because they run rootless and they cannot auto-start without making a system service for every stack, there is a lot that needs to change in a compose stack, especially with file permissions for shared mounts.
Yes, until it's NOT. Running RHEL 9 with docker engine slapped in there because the BitBucket self-hosted containerized runner is incompatible with podman.
Last time I tried to migrate to Podman the first container I tried was incompatible, so was the second, and the third. Turns out at the time Linuxservers.io stuff wasn't rootless podman compatible. There have since been some improvement according to my most recent Google search just now, so maybe a retry is coming up.
You can run it rootful, then it behaves just like Docker.
Doesn't that break the whole purpose of podman (rootless containers)?
A little but there is also systemd integration with podman.
However for that I usually set up a lingering user with limited permissions. For some cases you need rootful though.
Yes, I already moved everything and works perfectly.. except... nextcloud..
I am trying to setup a new one but too much debugging the last 10 hours
Which tutorial did you follow?
How is your selinux setup?
Oh, I see that RHEL has officially dropped docker support. You can try installing from binaries, but you are definitely striking out on your own here.
I don't mean to rake you over the coals here, but what is the reasoning for sticking with RHEL for this project? If you are attempting to use it in an paid enterprise situation, you are better off sticking with items on the compatibility list. If you run into issues with other supported services, the first piece of advice will be to remove docker. Since your are not getting support for docker, I would advise running it from a supported OS.
Well, as I am running my personal server for years, I wanted to test/understand more enterprise solutions except Debian/Ubuntu and especially solutions with SELinux. In the end if I face major issues I will setup Nextcloud to a VM. Thank you for your response
SElinux will run on any system with Linux
No shame in testing out enterprise solutions. Best of luck in your endeavor.
If you've been running these "for years", you certainly should know the pitfalls of switching to a brand new distro. Like the exact situation you're asking about.
You should also know that packages tagged as compatible with another version of any distro won't harm your current one to just install and find out if it works.
As many other commenters are saying, we don't know what your problem is, or why you're here.
Reading the Docs, it seems like PodMan is the replacement for docker. You could try containerd/nerdctl, but podman is likely the best way for you. RHEL10 docs even say it supports the older docker config options
Nextcloud is in EPEL 10. You'll get updates along with the rest of the OS.
I have been using EPEL 9 Nextcloud for a good while and it's been a smooth experience.
If you want specifically Docker, I would not choose an EL10 distro, really. I have been test driving AlmaLinux 10 and it's pretty nice, but I would look elsewhere.
I actually have a solution for your problem. Change distros:
all kinds of docker versions and you don't have to do any manual steps