docker run --entrypoint /bin/sh myimage

Category: Docker

docker run --entrypoint /bin/sh myimage

Override the image's ENTRYPOINT with /bin/sh

Overrides the default ENTRYPOINT (the main command the container runs) with /bin/sh for debugging.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.