# Which docker repo should I install

**URL:** <https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145>\
**Category:** Rocky Linux Help & Support\
**Created:** [September 27, 2021, 7:55am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145 "2021-09-27T07:55:08Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tus](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Tus](https://forums.rockylinux.org/u/Tus)\
**Post date:** [September 27, 2021, 7:55am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/1 "2021-09-27T07:55:08Z")

</div>

Greetings, I tried to install docker for production, unfortunately I didn’t find “rocky linux”, shall I go with CentOS version or Rhel? Thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![afiadi](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@afiadi](https://forums.rockylinux.org/u/afiadi)\
**Post date:** [September 27, 2021, 11:39am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/2 "2021-09-27T11:39:03Z")

</div>

In Redhat base I think you can use podman, it is already installed in Rocky Linux

---

<div class="post-metadata">

**Author:** ![Tus](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Tus](https://forums.rockylinux.org/u/Tus)\
**Post date:** [September 27, 2021, 6:13pm UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/3 "2021-09-27T18:13:55Z")

</div>

Hi, Thank you for taking a time to answer my question. After couple of research, I tried installing centos version and so far it works as it supposed to be. Stay safe & stay health.

---

<div class="post-metadata">

**Author:** ![berlin](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@berlin](https://forums.rockylinux.org/u/berlin)\
**Post date:** [October 8, 2021, 12:59am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/4 "2021-10-08T00:59:02Z")

</div>

```auto
podman search rocky
podman pull docker.io/rockylinux/rockylinux

```

---

<div class="post-metadata">

**Author:** ![Tus](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Tus](https://forums.rockylinux.org/u/Tus)\
**Post date:** [October 8, 2021, 1:20am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/5 "2021-10-08T01:20:11Z")

</div>

Hi there,

Thank you for giving a suggestion for me, I have never heard about podman, can’t wait to try it 🙂

---

<div class="post-metadata">

**Author:** ![berlin](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@berlin](https://forums.rockylinux.org/u/berlin)\
**Post date:** [October 8, 2021, 1:36am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/6 "2021-10-08T01:36:36Z")

</div>

You can just ` dnf install podman-docker` and then using ‘docker command’ instead of ‘podman’ :

```auto
docker pull 

```

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [October 8, 2021, 7:46am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/7 "2021-10-08T07:46:53Z")

</div>

Red Hat did describe podman when it did release RHEL 8.

IMHO, _Docker_ is a nightmare. It needs daemon. It needs elevated privileges, which is a security issue.

_Podman_ (and _singularity_) do not run as daemon. They can be run as regular user.

---

<div class="post-metadata">

**Author:** ![Tus](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Tus](https://forums.rockylinux.org/u/Tus)\
**Post date:** [October 8, 2021, 12:45pm UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/8 "2021-10-08T12:45:11Z")

</div>

@berlin @jlehtone

I don’t know how to express my gratitude for your kindness. To be fair, I haven’t deeply read podman documentation `https://docs.podman.io/en/latest/Introduction.html`. But I notice, they said

```auto
podman <statement>

```

instead of using `docker <command>`  
So, as far as I understand, podman is just the “better” version of docker with the same application?

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [October 8, 2021, 1:14pm UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/9 "2021-10-08T13:14:44Z")

</div>

The “better” is always subjective. Podman is _compatible_; it can use Docker image format, and thus existing Docker repositories and images.

The _singularity_ is different. It has tools to generate singularity images from Docker images (if you are root), but not use Docker images directly.

---

<div class="post-metadata">

**Author:** ![Tus](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Tus](https://forums.rockylinux.org/u/Tus)\
**Post date:** [October 27, 2021, 6:43am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/10 "2021-10-27T06:43:36Z")

</div>

Hi @jlehtone,  
it’s been a while, I have been using podman for almost 2 weeks, and I am loving it! Thank you very much for the insight 😉

---

<div class="post-metadata">

**Author:** ![mjordan79](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/mjordan79/32/2095_2.png) [@mjordan79](https://forums.rockylinux.org/u/mjordan79)\
**Post date:** [July 16, 2022, 10:22pm UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/11 "2022-07-16T22:22:00Z")

</div>

After 30 years of Unix systems, I didn’t know that having a “daemon” is considered a nightmare.  
By the way, Docker can be configured in rootless mode and its client / server communication can be protected through SSL.

Also, some notes:

1. There is no “docker image format”. Docker uses OCI image format, so nothing specific to Docker.
2. Same for the repositories. The docker registry is not something specific to Docker itself, it’s just an OCI image repository.
3. Podman can run images but can’t build them. Docker can be used to configure build farms, thanks to its daemon, which is a fairly powerful concept.
4. Docker is the _de facto standard_ in container management.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 17, 2022, 10:08am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/12 "2022-07-17T10:08:40Z")

</div>

Docker has hopefully improved.

Our use case has been multiple users on SLURM cluster. They submit jobs and SLURM executes those jobs on some nodes of the cluster. The users never ever have root privileges. Back when we first looked at containers for running applications that don’t run on CentOS 7 natively, Docker was not feasible.

---

<div class="post-metadata">

**Author:** ![Tus](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Tus](https://forums.rockylinux.org/u/Tus)\
**Post date:** [July 21, 2022, 1:12pm UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/13 "2022-07-21T13:12:23Z")

</div>

> [@mjordan79](#):
>
> By the way, Docker can be configured in rootless mode and its client / server communication can be protected through SSL.

I have tried it and many issue arise and hardly to debug. Instead of doing heavy tweaks, I enable selinux for docker daemon, so every file that doesn’t labeled as libvirt can’t be read or modified by docker. I think it is significantly reduce attack surface, while having “normal working docker”.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:45am UTC](https://forums.rockylinux.org/t/which-docker-repo-should-i-install/4145/14 "2023-08-25T03:45:00Z")

</div>

Closed on August 25, 2023, 3:45am UTC


