Docker is not available in RHEL10
from sv1sjp@lemmy.world to selfhosted@lemmy.world on 15 Jun 08:09
https://lemmy.world/post/31426346

As I can see, Docker is not available in RHEL10 (at least for now). Yes, I know, podman is an option, I already converted all of my services, but for my nextcloud setup… I find it impossible to make it full functional in podman… Edit: Okay I succeeded, thank you for your messages, I know how to manually install rpms, the main point was to discuss that Docker is not available in RHEL.

#selfhosted

threaded - newest

just_another_person@lemmy.world on 15 Jun 08:13 next collapse

Just uninstall podman and install docker-ce. Official docker docs have steps even.

sv1sjp@lemmy.world on 15 Jun 08:14 collapse

It is not available for RHEL 10.

just_another_person@lemmy.world on 15 Jun 08:19 collapse

🤦

So do like I said and visit the Docker official docs, setup the RHEL repos, and install it. Or, you can just install the ROM packages individually. OR you can wait a few weeks until the official packages show up which will ease the the same thing.

Your choice.

sv1sjp@lemmy.world on 15 Jun 08:22 collapse

😊

The official docs:

To install Docker Engine, you need a maintained version of one of the following RHEL versions:

RHEL 8
RHEL 9
just_another_person@lemmy.world on 15 Jun 08:30 collapse

Man, if you’re this green, just go back to RHEL 9 until they come back and tell you it’s okay to do exactly as they say. Did you just come here to complain, or do you honestly not know how this all works?

Literally download the RPMs like I said if you don’t know how to use backref repos.

sv1sjp@lemmy.world on 15 Jun 08:33 collapse

The main point was about that Docker is not available for now in RHEL10. Chill

just_another_person@lemmy.world on 15 Jun 08:54 next collapse

When people like you stopping coming in here with useless comments and complaints, I’ll stop responding to them. 🫰

sv1sjp@lemmy.world on 15 Jun 09:14 collapse

virtual hug

[deleted] on 15 Jun 11:12 collapse

.

Zeoic@lemmy.world on 15 Jun 15:18 collapse

Oooor people could stop being rude when he clearly doesn’t know if you can install an rpm from 9 on 10. All I have seen are people saying “do this”, and when he says he can’t, people complain instead of elaborating. If you dont want to help, dont. There is no need for everyone to gang up on him…

[deleted] on 15 Jun 16:23 next collapse

.

Zeoic@lemmy.world on 15 Jun 17:24 collapse

1 ask question

2 get answers you believe wont work

3 people become rude assholes instead of explain why it will

Yup, no problems here…

[deleted] on 15 Jun 17:45 collapse

.

Zeoic@lemmy.world on 15 Jun 17:54 collapse

You were just the last rude commenter I saw before commenting myself. He is asking for help, and instead of continuing to help or moving on, people are rude or are attacking him. I feel that isn’t ok.

We can agree to disagree about who’s out of line.

[deleted] on 15 Jun 18:06 collapse

.

catloaf@lemm.ee on 16 Jun 05:48 collapse

He didn’t say he can’t, he said “but the site says!”

Yeah I know what the site says, I linked to it, I can read (usually). You know what I do when I want to do something? I try.

nixfreak@sopuli.xyz on 15 Jun 08:13 next collapse

Just use podman, easy migration from docker.

sv1sjp@lemmy.world on 15 Jun 08:18 next collapse

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

enemenemu@lemm.ee on 15 Jun 08:51 next collapse

Which tutorial did you follow?

How is your selinux setup?

[deleted] on 15 Jun 09:50 collapse

.

shnizmuffin@lemmy.inbutts.lol on 15 Jun 08:59 next collapse

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.

Zikeji@programming.dev on 15 Jun 09:18 collapse

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.

sugar_in_your_tea@sh.itjust.works on 15 Jun 10:08 collapse

You can run it rootful, then it behaves just like Docker.

N0x0n@lemmy.ml on 15 Jun 14:52 collapse

Doesn’t that break the whole purpose of podman (rootless containers)?

somethingsomethingidk@lemmy.world on 15 Jun 15:27 collapse

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.

GreenKnight23@lemmy.world on 15 Jun 18:05 next collapse

podman is not a replacement to docker.

I fucking hate how the podman docs say that(because ofc they do).

it’s like saying c++ is a replacement to c. can they work, sure. are they the same? you try importing libs into c the same way you do in c++ and find out. yeah, they’re both c under the covers but they are not the same.

MangoPenguin@lemmy.blahaj.zone on 16 Jun 05:37 collapse

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.

CommanderShepard@lemmy.world on 18 Jun 11:05 collapse

Agreed. Setting up an NFS share is a mess with Podman

catloaf@lemm.ee on 15 Jun 08:19 next collapse

docs.docker.com/engine/install/rhel/

You should be able to add the repo and install the packages anyway. If it doesn’t work, give a description of the behavior including errors or logs.

sv1sjp@lemmy.world on 15 Jun 08:20 collapse

Yes, I have already read that and it clearly says:

To install Docker Engine, you need a maintained version of one of the following RHEL versions:

RHEL 8
RHEL 9
catloaf@lemm.ee on 15 Jun 08:34 next collapse

I don’t know why people ask for help and refuse to listen when it’s given.

just_another_person@lemmy.world on 15 Jun 09:25 collapse

Exactly. Getting downvoted by plebs because of this.

ilmagico@lemmy.world on 15 Jun 08:40 collapse

I guess what they’re saying is, even though it’s “not supported” officially, you can still try and there’s good chances it’ll work anyway. If you need or prefer to stick to a supported configuration, it seems your options are either to switch to podman and figure out nextcloud, or switch away from RHEL.

noahimesaka1873@lemmy.funami.tech on 16 Jun 04:29 collapse

It won’t work since there’s no RHEL10 repo. You can however use CentOS (Stream) 10 repo, I use it that way and it works!

SpikesOtherDog@ani.social on 15 Jun 08:26 next collapse

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.

sv1sjp@lemmy.world on 15 Jun 08:37 collapse

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

SpikesOtherDog@ani.social on 15 Jun 08:57 next collapse

No shame in testing out enterprise solutions. Best of luck in your endeavor.

just_another_person@lemmy.world on 15 Jun 14:29 next collapse

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.

possiblylinux127@lemmy.zip on 16 Jun 08:33 collapse

SElinux will run on any system with Linux

thejml@lemm.ee on 15 Jun 08:54 next collapse

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

just_another_person@lemmy.world on 15 Jun 14:24 next collapse

BUT THATS NOT WHAT I LIKE TO UUUSSSEEEEE WAAAAHHHHHHHH 😭😭😭😭😭😭😭😭😭

dontbelievethis@sh.itjust.works on 15 Jun 15:16 collapse

What the fuck is your problem? :D

just_another_person@lemmy.world on 15 Jun 15:57 next collapse

Just empathetic. Is that bad now?

GreenKnight23@lemmy.world on 15 Jun 18:01 next collapse

poor impulse control.

that or they use podman over docker.

possiblylinux127@lemmy.zip on 16 Jun 08:33 collapse

They are just another person

GreenKnight23@lemmy.world on 15 Jun 18:00 collapse

podman is not a drop-in for docker.

they lie and anyone saying otherwise is lying too.

possiblylinux127@lemmy.zip on 16 Jun 08:32 collapse

It depends on what you are trying to do. Podman has a different design but it has pretty solid compatibility with docker. It also supports OCI containers so from the applications perspective it looks the same.

iopq@lemmy.world on 15 Jun 09:21 next collapse

I actually have a solution for your problem. Change distros:

search.nixos.org/packages?channel=25.05&from=0&si…

all kinds of docker versions and you don’t have to do any manual steps

truthfultemporarily@feddit.org on 15 Jun 09:22 next collapse

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?

koala@programming.dev on 15 Jun 09:59 next collapse

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.

GreenKnight23@lemmy.world on 15 Jun 17:59 collapse

hasn’t been available since like 8. right?

IBM bought redhat, negotiations with docker bottomed out because docker wouldn’t appease IBM execs, and IBM used their competitor podman. IBM yanked docker out of all packages almost overnight.

yet another reason why I left redhat. any company that uses their power for the sake of using it makes running business on their platform hard, but that’s kind of IBM’s whole schtick.

edit: why the downvotes? this is literally what happened. docker said they couldn’t delivered rootless when IBM wanted it because they had other priorities. IBM said fuck you we’re dropping support for podman. docker said ok, and now we have a podman still masquerading like a drop in replacement.