Difference between revisions of "Docker: Run"

From Glitchdata
Jump to navigation Jump to search
(Created page with " ==Links== * https://docs.docker.com/engine/reference/commandline/run/ Category: Docker Usage")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
 +
 +
* $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
  
  

Latest revision as of 21: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