Rhel7 with mutli stage docker

Latest response


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


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. :)



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

You're welcome, Deepika ! :)


Anything changed? Can we run multistage builds in rhel7?

Anything changed? Can we run multistage builds in rhel7?