Difference between revisions of "Docker run -it"
Jump to navigation
Jump to search
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | [docker run]] -it [[ubuntu]] | + | [[docker run]] -it [[ubuntu]] |
+ | [[docker run]] -it [[ubuntu]] [[/bin/bash]] | ||
+ | [[docker run]] -it ubuntu:rolling /bin/bash | ||
+ | [[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 == | ||
+ | * <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
docker run -it ubuntu docker run -it ubuntu /bin/bash docker run -it ubuntu:rolling /bin/bash
docker run -it alpine /bin/sh
docker run -it node
docker run -it ubuntu bash -c 'apt update -qqq & bash'
Errors[edit]
Related[edit]
See also[edit]
Advertising: