Difference between revisions of "Docker: Run"

From Glitchdata
Jump to navigation Jump to search
 
Line 4: Line 4:
 
** runs debian image with a container name "test"
 
** runs debian image with a container name "test"
 
** -it provides an interactive mode shell
 
** -it provides an interactive mode shell
 +
 +
* $docker run -d mybase
 +
** -d runs in background
  
  

Latest revision as of 22:39, 12 March 2019


  • $docker run --name test -it debian
    • runs debian image with a container name "test"
    • -it provides an interactive mode shell
  • $docker run -d mybase
    • -d runs in background


Links