[QGIS-Developer] [RHEL][QGIS Server] Installation questions and advices

João Gaspar joao.f.r.gaspar at gmail.com
Wed Dec 16 01:54:40 PST 2020


Dear Alessandro and Rizky,
sorry for my delay in the answer. Many thanks for sharing your feedback.

After your feedback, I found that are implementing as well an alternative
for docker-compose compatible with podman.

https://github.com/containers/podman-compose

So I think is good news as well.

Once again thank you for your time.

Best regards,
João Gaspar


Rizky Maulana Nugraha <lana.pcfre at gmail.com> escreveu no dia terça,
15/12/2020 à(s) 07:01:

> Hi João,
>
> Podman uses containerd directly and will certainly work as a replacement
> to run docker containers.
>
> >> is possible to change but have a limitation for know don't have a tool
> equal to docker-compose (there is a workaround[4,5,6])
>
> If you only run one pod of QGIS Server, you don’t need to use
> docker-compose, just run podman directly as alias for docker command. If
> for some reason you need to use docker-compose because you want to deploy
> several services, I suggest you re-wrote the services as kubernetes
> manifests. The article you linked shows how to migrate from docker-compose
> recipe into a kubernetes manifests using kompose, but you still need to
> validate the resulting YAML by hand. I also use this approach to create
> helm charts to deploy QGIS Server to kubernetes.
>
> If you intend to run it as production container in RHEL, I think you
> should also consider making the QGIS Server image as a security-hardened
> image that can pass CIS benchmark.
>
> Regards,
> --
> Rizky Maulana Nugraha
> lana.pcfre at gmail.com
> Software Developer
>
> > On 13 Dec 2020, at 03.49, Alessandro Pasotti <apasotti at gmail.com> wrote:
> >
> > Hi,
> >
> > I don't know podman but looking at the links you provided, it seems
> > like podman is compatible with docker containers.
> >
> > You can try that.
> >
> > Regards.
> >
> >
> >> On Sat, Dec 12, 2020 at 8:59 PM João Gaspar <joao.f.r.gaspar at gmail.com>
> wrote:
> >>
> >> Dear devs,
> >> I hope you are fine.
> >>
> >> Recently the IT department of my company asked me if it's possible to
> install the latest QGIS Server version in RHEL 8.3.
> >>
> >> So I did a little research.
> >>
> >> Apparently, RHEL 8.3 is based on Fedora 29[1]. In this last RHEL 8.3,
> the technical notes said that they adapted dnf manager [2] as default for
> this and next RHEL releases. I was excited and went to Dani QGIS fedora
> repo to install in RHEL but the latest builds are based in recent Fedora
> releases. It's possible to have QGIS servers recent builds of Fedora in an
> RHEL based on an old Fedora release?
> >>
> >> So I think as well in Docker as an alternative inside RHEL but
> apparently, they will not support officially docker in the future starting
> in this release 8.3 [3] and they will switch to podman, is possible to
> change but have a limitation for know don't have a tool equal to
> docker-compose (there is a workaround[4,5,6]). It's possible to install
> Docker but won't by supported official for RHEL [7].
> >>
> >> In the end, I can always try to convince them to use other types of
> Linux distro server such as ubuntu server ou fedora server, what do you
> think?
> >>
> >> Based on these thoughts what kind of path can I follow? Please correct
> me if I said something wrong or don't make sense.
> >>
> >>
> >> If someone wants to read more about this, I'm sharing my little
> research links about this topic.
> >>
> >> Links:
> >> 1- Matrix compatibility Fedora RHEL
> >>
> https://docs.fedoraproject.org/en-US/quick-docs/fedora-and-red-hat-enterprise-linux/
> >>
> >> 2- Using the dnf manager system (Chapter 6.1)
> >>
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index
> >>
> >> 3- Change Docker to Podman (Chapter 20)
> >>
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index
> >>
> >> 4 - Podman and buildah for docker users
> >>
> https://developers.redhat.com/blog/2019/02/21/podman-and-buildah-for-docker-users/
> >>
> >> 5 - Transitioning from Docker to Podman
> >>
> https://developers.redhat.com/blog/2020/11/19/transitioning-from-docker-to-podman/
> >>
> >> 6 - Moving from docker-compose to Podman pods
> >> https://www.redhat.com/sysadmin/compose-podman-pods
> >>
> >> 7- How to install docker in RHEL 8:
> >> https://linuxconfig.org/how-to-install-docker-in-rhel-8
> >>
> >> Best regards,
> >> João Gaspar
> >> _______________________________________________
> >> QGIS-Developer mailing list
> >> QGIS-Developer at lists.osgeo.org
> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> >
> > --
> > Alessandro Pasotti
> > QCooperative:  www.qcooperative.net
> > ItOpen:   www.itopen.it
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20201216/178a1541/attachment.html>


More information about the QGIS-Developer mailing list