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

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -