cli icon indicating copy to clipboard operation
cli copied to clipboard

Override command without Dockerfile

Open sevetseh28 opened this issue 1 year ago • 1 comments

Hi,

Is it possible to override CMD without having a Dockerfile? I'd like to use image & overrideCommand: false but also specify the command without unnecessarily writing a Dockerfile that just changes CMD.

Thank you!

sevetseh28 avatar Sep 09 '24 15:09 sevetseh28

Thanks for opening!

I believe since overrideCommand defaults to false, if you want to use the default command specified in the Docker image, you do not need to explicitly set overrideCommand to false or worry about creating a Dockerfile. Did you try this and experience any issues?

bamurtaugh avatar Sep 26 '24 22:09 bamurtaugh