Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i want it done like the last picture. if you can change Installation Commands: sudo apt-get update sudo apt-get install curl apt-transport-https cacertificates software-properties-common y

i want it done like the last picture. if you can change image text in transcribed
image text in transcribed
image text in transcribed
Installation Commands: sudo apt-get update sudo apt-get install curl apt-transport-https cacertificates software-properties-common y curl -fsSL https://download.docker.com/linux/ubuntu/ gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https:// download.docker.com/linux/ubuntu $ (Isb_release -cs) stable" sudo apt-get update sudo apt-get install -y docker-ce service docker status Use appropriate example(s) to answer the questions below. Q-1 What is the command to download an image? Q-2 What is the command to get a list of downloaded images? Q-3 What is the command to get a list of ALL containers? Q-4 What is the command to run a container from an image in an interactive mode? Q-5 What is the command to run a container from an image in detach mode? Q-6 What is the command to re-run an "EXITED" container in an interactive mode? Q-7 What is the command to only create a container? Q-8 What is the command to only re-run an "EXITED" container? Q-9 What is the command to rename a container from an image? Q-10 What is the command to stop the "UP"(running) container? Q-11 What is the command to run a container which can be accessed from outside using port 81 and it will redirect to port 80 inside a container? Q-12 What is the command to get log details of a particular container? Q-13 What is the command to create an image out of a container? Q-14 What is the command to upload an image to dockerhub? Q-15 What is the command to remove an image? Q-16 What is the command to remove a container? Q-17 What is the command get a list of only RUNNING containers? docker pull ubuntu rooteip-172-31-5-153:/home/ubuntu/ docker pu11 ubuntu Using default tag: latest latest: Pu11ing from 11brary/ubuntu 677076032 cca: Pu11 complete Digest: sha256:f05532b6aldec5f7a77a8d684af87bc9cd1f.b32eab301c109f8ad151b5565d Status: Downloaded newer image for ubuntu:latest docker.io/11brary/ubuntu: latest Q-2 What is the command to get a list of downloaded images? docker images Q-3 What is the command to get a list of ALL containers? docker ps -a Q-4 What is the command to run a container from an image in an interactive mode? docker run -it ubuntu rooteip-172-31-5-153:/home/ubuntu\# docker run -it ubuntu rooted5289ca 13c2b:/#

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions

Question

How are gains and losses recognized on the RICO Net Worth Schedule?

Answered: 1 week ago