Docker: Run

From Glitchdata
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

  • $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