Friday, 5 August 2022

When running docker, there was no response if we want to execute a bash script inside docker?

add the entrypoint to run the bash script with /bin/sh as following:-

docker run -it --rm --entrypoint="/bin/bash" ubuntu

No comments:

Post a Comment