Docker Community Forums

Share and learn in the Docker community.

Create Docker Image

docker

(Lorenzvth7) #1

Hello,
I have no experience with the creation of Docker Images.
But at the moment I have a program which I want to run in a container so I have to create an image.

To install he program on my RHEL I have to perform:
su -c ‘/bin/sh myprogram.sh

How will my dockerfile look to create this image?

Thanks


(Dvohra) #2

Please refer
https://docs.docker.com/engine/userguide/containers/dockerimages/