docker - Dockerfile option that defaults to background running (detached) -


is there option can specify in dockerfile defaults containers built run detached.

this lead same outcome -d in:

docker run -d <imagename> 

so

docker run <imagename>  

would run detached default.

the purpose of dockerfile build image. how run image controlled "docker run" command. there no option available in dockerfile per docker documentation.


Comments