Difference between revisions of "Docker run -it"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by 3 users 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 alpine]] [[/bin/sh]]
 +
 
 +
[[docker run -it node]]
 +
 
 +
docker run -it ubuntu bash -c '[[apt update -qqq]] & bash'
 +
 
 +
== Errors ==
 +
* <code>[[OCI runtime exec failed]]</code>
  
 
== Related ==
 
== Related ==
 
* <code>[[docker inspect]]</code>
 
* <code>[[docker inspect]]</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: