Difference between revisions of "Docker run -it"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
 
  docker run -it [[alpine]] [[/bin/sh]]
 
  docker run -it [[alpine]] [[/bin/sh]]
 +
 +
docker run -it ubuntu bash -c '[[apt update -qq]] & bash'
  
 
== Errors ==
 
== Errors ==

Revision as of 10:52, 8 April 2023

docker run -it ubuntu
docker run -it ubuntu /bin/bash
docker run -it alpine /bin/sh
docker run -it ubuntu bash -c 'apt update -qq & bash'

Errors

Related

See also

Advertising: