Difference between revisions of "Docker run -it"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  [[docker run]] -it [[ubuntu]]
 
  [[docker run]] -it [[ubuntu]]
 
  [[docker run]] -it [[ubuntu]] [[/bin/bash]]
 
  [[docker run]] -it [[ubuntu]] [[/bin/bash]]
 +
[[docker run]] -it ubuntu:rolling /bin/bash
  
docker run -it [[alpine]] [[/bin/sh]]
 
  
  docker run -it ubuntu bash -c '[[apt update -qq]] & bash'
+
[[docker run -it alpine]] [[/bin/sh]]
 +
 
 +
[[docker run -it node]]
 +
 
 +
  docker run -it ubuntu bash -c '[[apt update -qqq]] & bash'
  
 
== Errors ==
 
== Errors ==
Line 13: Line 17:
 
* <code>[[docker inspect]]</code>
 
* <code>[[docker inspect]]</code>
 
* <code>[[docker run -d -it]]</code>
 
* <code>[[docker run -d -it]]</code>
 +
* <code>[[docker run -t]]</code>
 +
* [[docker run --rm]]
  
 
== See also ==
 
== See also ==

Latest revision as of 13:47, 25 October 2024

Advertising: