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.