My Dockerfile contains a
RUN xyz.sh --IP localhost
and when I give the command docker run I want to insert a new IP address:
docker run -it IP 127.0.0.1 name:tag
How to pass it like this?
I tried to give ENV in Docker file and using -e in run command but nothing works.