Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

1. Practice giving the test before you actually use it.

Answered: 1 week ago

Question

Decision Making in Groups Leadership in Meetings

Answered: 1 week ago