Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker run ubuntu image

docker pull ubuntu

# Use one of the two commands to run the image
# 1. To run the ubuntu image
docker run -i -t ubuntu 
# 2. To run the ubuntu image and open terminal within the image
docker run -i -t ubuntu /bin/bash
 
PREVIOUS NEXT
Tagged: #docker #run #ubuntu #image
ADD COMMENT
Topic
Name
8+2 =