How to remove entrypoint from parent Image on Dockerfile
I want to remove entrypoint from Dockerfile, but parent image has a entrypoint.
how do I can remove it?
3 Solutions collect form web for “How to remove entrypoint from parent Image on Dockerfile”
Per the discussion here, you should be able to reset the entrypoint with
There are two ways to go about it :
If you want the override to happen at build time , then create a docker file for child image and specify the new Entrypoint there
FROM PARENT_IMAGE ENTRYPOINT [new_entry_point]
2.Another way would be to do the override at the runtime , i.e, by using the
docker run --entrypoint=/bin/bash CHILD_IMAGE
Put this line in your Dockerfile