Answers for "docker run ubuntu image"

53

how to install docker ubuntu

sudo apt-get update
sudo apt-get upgrade
sudo apt install docker.io
systemctl start docker
systemctl enable docker
docker --version
Posted by: Guest on May-08-2020
0

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
Posted by: Guest on October-29-2021
0

docker run ubuntu container

docker run -it ubuntu
Posted by: Guest on December-07-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language