Rhel7 with mutli stage docker

Latest response

Hi,

I want to build a docker file with rhel atomic host as a base image and create multi stage docker file

The issue i am facing is, on a rhel host OS i have docker installed with yum install docker- the version is Docker version 1.13.1, build 07f3374/1.13.1

This version do not support multi stage docker file
If i install docker-ce v18, my subscription wont work.

Kindly help

Responses

Hi Deepika,

Just give Podman a try - it is an alternative solution, developed by Red Hat as a replacement for Docker. Enable the rhel-7-server-extras-rpms repository (sudo subscription-manager repos --enable rhel-7-server-extras-rpms) and then execute sudo yum install podman. Find more information about Podman and how to use the tool on the Red Hat Developer Portal ...

Additionally you may want to install Buildah and Skopeo as well, those are complementary tools to Podman.
One of the advantages is that everything can be run without any "big fat" daemon and as a standard user.
Execute sudo yum install buildah skopeo. Nearly all commands are the same as with docker. :)

https://access.redhat.com/downloads/content/buildah/1.4-3.gitc8ed967.el7/x86_64/fd431d51/package
https://access.redhat.com/downloads/content/podman/0.11.1.1-3.git594495d.el7/x86_64/fd431d51/package
https://access.redhat.com/downloads/content/skopeo/0.1.31-7.gitb0b750d.el7/x86_64/fd431d51/package

Regards,
Christian

Hi Christian, thank you for the inputs. I will definitely have a look at this.

You're welcome, Deepika ! :)

Regards,
Christian

Anything changed? Can we run multistage builds in rhel7?

Anything changed? Can we run multistage builds in rhel7?