Hacker News new | ask | show | jobs
by funaculi 888 days ago
One thing missing I use often, is to run a throw-away image with custom entrypoint, for looking around and investigating:

`docker run --entrypoint /bin/sh -it --rm the-image` IIRC

1 comments

I do things like this all the time:

  docker run -it --rm ubuntu:22.04
I assume that the default command for this image is /bin/sh

Do you do it this way to override the image's entrypoint unconditionally?