/bin/sh: url: command not found


Running a Dockerfile containing

RUN yum install python3 -y
    && url -O https://bootstrap.pypa.io/get-pip.py 
    && python3 get-pip.py
        #no --user - install for the whole machine
    && pip install awscli --upgrade

I get
/bin/sh: url: command not found

I clicked trough a lot of /bin/sh: xyz: command not found and didn’t find more than I already knew: the package/executable url seems to be missing on my system. How do I install this on CentOS? A web search also yielded only useless results.

yum install -y url gives me No package url available.

Source: Dockerfile Questions

Categorised as centos, centos7, docker-compose, dockerfile, yum Tagged , , , ,


Leave a Reply

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us