Docker Community Forums

Share and learn in the Docker community.

About the General Discussions category


(Jerry Baker) #1

General discussions, feature requests, and training inquiries.


(Dtakhellambam) #2

Hello,
I have a technical question but not sure where to post. I am a newbie. I was trying to create a Docker image for CentOS. The imagefile contains yum install -y packagename. However, when I tried to build the image, it keeps giving me errors as "/bin/sh -c : 1: yum not found. I can run the yum command just fine. Please advise.

I tried using ENTRYPOINT["/bin/bash"] as well but it didn’t help.


(Shm32) #3

@dtakhellambam What does your Dockerfile looks like ?