I have the following ENTRYPOINT
in my Dockerfile:
ENTRYPOINT["/setup.sh"]
I need to run a container without running setup.sh
and run install.sh.
How do I do it?
I have the following ENTRYPOINT
in my Dockerfile:
ENTRYPOINT["/setup.sh"]
I need to run a container without running setup.sh
and run install.sh.
How do I do it?
Just change your docker entrypoint when executing docker run :
docker run -d --rm --entrypoint WHATEVER_COMMAND_YOU_WANT image_name
It will replace your dockerfile' entrypoint.