Docker Community Forums

Share and learn in the Docker community.

Help in installing Docker rpm inside a docker image


(Soumava123) #1

Hello,
I am new to docker world.Need some help.
I want to install a rpm inside a running docker image.
I was using to rpm -i abc.rpm to install rpm from terminal.
But i am getting errors while installing the rpm since the dependent files are missing.


(David Maze) #2

That (or yum install) is the right thing to RUN to install an RPM package in a Red Hat-like image’s Dockerfile.