rundeck-plugins / docker

Providers for docker
28 stars 23 forks source link

Specify entrypoint when running container #69

Open jimbali opened 2 years ago

jimbali commented 2 years ago

Is there any way to specify a different entrypoint when running the container? For example with the Docker CLI we can do:

docker run --rm -it --entrypoint '/bin/bash' my-container

This is useful if the image has its entrypoint set to something that we don't really want to run. If we have no control over the building of the image itself but we want to still use it but modify its operation, overriding the entrypoint is often necessary. If this feature is not supported do you think it could be added please?