Difference between revisions of "Docker/C2/Installation-of-Docker/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "<div style="margin-left:0cm;margin-right:0cm;"></div> {| border="1" |- || '''Visual Cue''' || '''Narration''' |- | style="border-top:0.5pt solid #000000;border-bottom:0.5pt so...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="margin-left:0cm;margin-right:0cm;"></div>
+
 
{| border="1"
+
{| border=1  
|-
+
 
|| '''Visual Cue'''
 
|| '''Visual Cue'''
 
|| '''Narration'''
 
|| '''Narration'''
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show Slide:
+
|| Show Slide:
  
 
'''Title Slide'''
 
'''Title Slide'''
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Hello and welcome to the Spoken Tutorial on '''Installation of Docker'''.
+
|| Hello and welcome to the Spoken Tutorial on '''Installation of Docker'''.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show Slide:
+
|| Show Slide:
  
 
'''Learning Objectives'''
 
'''Learning Objectives'''
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | In this tutorial, we will learn how to
+
|| In this tutorial, we will learn how to
* <div style="margin-left:1.27cm;margin-right:0cm;">Install '''Docker '''and its dependencies on '''Ubuntu'''</div>
+
* Install '''Docker '''and its dependencies on '''Ubuntu'''
* <div style="margin-left:1.27cm;margin-right:0cm;">Install '''Docker Desktop '''on '''Windows'''</div>
+
* Install '''Docker Desktop '''on '''Windows'''
* <div style="margin-left:1.27cm;margin-right:0cm;">Download and run a '''Docker '''container</div>
+
* Download and run a '''Docker '''container
  
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show Slide:
+
|| Show Slide:
  
 
'''System Requirements'''
 
'''System Requirements'''
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | To record this tutorial, I am using * <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux OS version 22.04''' </div>
+
|| To record this tutorial, I am using  
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Windows 11''' and</div>
+
* '''Ubuntu Linux OS version 22.04'''  
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Docker version 27.0.2'''</div>
+
* '''Windows 11''' and
 +
* '''Docker version 27.0.2'''
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show Slide:
+
|| Show Slide:
  
 
'''Installation Requirements'''
 
'''Installation Requirements'''
* <div style="margin-left:1.27cm;margin-right:0cm;">You require a working Internet connection.</div>
+
* You require a working Internet connection.
 
Show Slide:'''Installation Requirements'''
 
Show Slide:'''Installation Requirements'''
  
 
For Linux:
 
For Linux:
* <div style="margin-left:1.27cm;margin-right:0cm;">64-bit kernel and CPU support for virtualization.</div>
+
* 64-bit kernel and CPU support for virtualization.
* <div style="margin-left:1.27cm;margin-right:0cm;">At least 4 GB of RAM.</div>
+
* At least 4 GB of RAM.
  
 
For Windows:
 
For Windows:
* <div style="margin-left:1.27cm;margin-right:0cm;">Windows 10 or Higher</div>
+
* Windows 10 or Higher
* <div style="margin-left:1.27cm;margin-right:0cm;">At least 4 GB of RAM</div>
+
* At least 4 GB of RAM
  
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" |  
+
||  
* <div style="margin-left:1.27cm;margin-right:0cm;">For the installation you require a working Internet connection.</div>
+
* For the installation you require a working Internet connection.
* <div style="margin-left:1.27cm;margin-right:0cm;">Your system should have the following requirements to install Docker.</div>
+
* Your system should have the following requirements to install '''Docker'''.
  
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show Slide:
+
|| Show Slide:
  
 
'''Prerequisite'''
 
'''Prerequisite'''
  
 
[https://www.spoken-tutorial.org/ https://www.spoken-tutorial.org]
 
[https://www.spoken-tutorial.org/ https://www.spoken-tutorial.org]
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | To follow this tutorial,
+
|| To follow this tutorial,
* <div style="margin-left:1.27cm;margin-right:0cm;">You must have basic knowledge of using Linux terminal</div>
+
* You must have basic knowledge of using Linux terminal
* <div style="margin-left:1.27cm;margin-right:0cm;">For pre-requisite Linux tutorials, please visit this website</div>
+
* For pre-requisite Linux tutorials, please visit this site
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show slide:
+
|| Show slide:
  
 
'''Code files'''
 
'''Code files'''
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" |  
+
||  
* <div style="margin-left:1.27cm;margin-right:0cm;"><span style="color:#252525;">The files used in this tutorial are provided in the </span><span style="color:#252525;">'''Code files'''</span><span style="color:#252525;"> link.</span></div>
+
* The files used in this tutorial are provided in the '''Code files''' link.
* <div style="color:#252525;margin-left:1.27cm;margin-right:0cm;">Please download and extract the files.</div>
+
* Please download and extract the files.
* <div style="color:#252525;margin-left:1.27cm;margin-right:0cm;">Make a copy and then use them while practising.</div>
+
* Make a copy and then use them while practising.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Press Ctrl,Alt and T  
+
|| Press Ctrl, Alt and T keys.
 +
 
 
Type, '''sudo apt-get update'''
 
Type, '''sudo apt-get update'''
  
press Enter.
+
Press Enter.
  
 
Type the password when prompted.
 
Type the password when prompted.
  
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Open the terminal by pressing Ctrl, Alt and T keys simultaneously.
+
|| Open the terminal by pressing '''Ctrl''', '''Alt''' and '''T''' keys simultaneously.
  
Type the command '''sudo apt hyphen get update '''and press '''Enter.'''
+
Type the command '''sudo apt hyphen get update''' and press '''Enter'''.
  
When prompted for password, enter your password and press '''Enter.'''
+
When prompted for password, enter your password and press '''Enter'''.
  
 
Wait for the repositories to be updated.
 
Wait for the repositories to be updated.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" |  
+
|| Go to the Downloads directory using the command '''cd Downloads.'''
 
+
Go to the Downloads directory using the command '''cd Downloads.'''
+
 
'''Type,'''
 
'''Type,'''
  
 
'''cat docker_commands.sh'''
 
'''cat docker_commands.sh'''
 
Highlight the command
 
Highlight the command
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | I have downloaded the '''docker_commands.sh''' file and saved it in my '''Downloads''' folder.
+
|| I have downloaded a '''docker_commands.sh''' file and saved it in my '''Downloads''' folder.
 +
 
 
Change to the directory where you have downloaded the code files.
 
Change to the directory where you have downloaded the code files.
  
Line 91: Line 91:
 
To make the docker installation easy we have given the commands in shell script.
 
To make the docker installation easy we have given the commands in shell script.
  
We shall use this file to install the dependencies for '''Docker'''.
+
We shall use this file and install the dependencies for '''Docker'''.
  
 
This file is available in the code file link of this tutorial.
 
This file is available in the code file link of this tutorial.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Type '''sudo sh docker_commands.sh '''and press '''Enter'''.
+
|| Type '''sudo sh docker_commands.sh '''and press '''Enter'''.
  
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | In the terminal type the command '''sudo sh docker_commands.sh''' and press '''Enter'''.
+
||In the terminal type the command '''sudo sh docker_commands.sh''' and press '''Enter'''.
  
 
The required packages will start installing.
 
The required packages will start installing.
Line 103: Line 103:
 
Wait for the installation to complete.
 
Wait for the installation to complete.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" |  
+
|| Type '''docker --version '''
 
+
Type '''docker --version '''
+
 
Press '''Enter'''
 
Press '''Enter'''
  
 
Highlight the output of the command.
 
Highlight the output of the command.
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Once the installation is complete, let us check the version of Docker.
+
||Once the installation is complete, let us check the version of '''Docker'''.
  
 
Type the command '''docker space hyphen hyphen version'''.
 
Type the command '''docker space hyphen hyphen version'''.
Line 117: Line 115:
 
You may get an updated version from the repository.
 
You may get an updated version from the repository.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" |
+
||  Type the command''' sudo docker run hello-world '''and press'''Enter'''
 +
||To verify the installation of Docker, we will run the'''hello-world''' '''Docker image'''.
  
<span style="background-color:#ffffff;">Type the command</span><span style="background-color:#ffffff;">''' sudo docker run hello-world '''</span><span style="background-color:#ffffff;">and press </span><span style="background-color:#ffffff;">'''Enter'''</span>
+
Type the command'''sudo docker run hello hyphen world '''and press'''Enter'''.
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | <span style="background-color:#ffffff;">To verify the installation of Docker, we will run the </span><span style="background-color:#ffffff;">'''hello-world'''</span><span style="background-color:#ffffff;"> Docker image.</span>
+
  
<span style="background-color:#ffffff;">Type the command </span><span style="background-color:#ffffff;">'''sudo docker run hello hyphen world '''</span><span style="background-color:#ffffff;">and press </span><span style="background-color:#ffffff;">'''Enter'''</span><span style="background-color:#ffffff;">.</span>
+
This command downloads the '''hello world '''docker image from''' Docker Hub'''.
  
<span style="background-color:#ffffff;">This command downloads the </span><span style="background-color:#ffffff;">'''hello world '''</span><span style="background-color:#ffffff;">docker image from</span><span style="background-color:#ffffff;">''' Docker Hub.'''</span>
 
 
It then creates a container for the image.
 
It then creates a container for the image.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Highlight the container id.
+
|| Highlight the container id.
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | The command returns the id of the container created.
+
||The command returns the id of the container created.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Keep the terminal window open and highlight the output of the previous command.
+
|| Keep the terminal window open and highlight the output of the previous command.
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | <span style="background-color:#ffffff;">On running the hello-world Docker image, </span><span style="background-color:#ffffff;">'''Hello from Docker '''</span><span style="background-color:#ffffff;">gets printed on the terminal.</span>
+
||On running the hello-world Docker image,'''Hello from Docker '''gets printed on the terminal.
  
<span style="background-color:#ffffff;">If you get the same output, then the installation of </span><span style="background-color:#ffffff;">'''Docker '''</span><span style="background-color:#ffffff;">is successful.</span>
+
If you get the same output, the installation of '''Docker ''' is successful.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | <div style="color:#434343;">Show slide:</div>
+
|| '''Docker Installation on Windows'''
  
<div style="color:#434343;">'''Docker Installation on Windows'''</div>
+
'''https://docs.docker.com/desktop/install/windows-install/'''
 +
||Next we will see how to install Docker on Windows.
  
 
+
To install '''Docker ''' on '''Windows''', we need to install'''Docker Desktop'''.
<div style="color:#434343;"></div>
+
 
+
<div style="color:#434343;"></div>
+
 
+
<div style="color:#434343;">'''https://docs.docker.com/desktop/install/windows-install/'''</div>
+
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Next we will see how to install Docker on Windows.
+
 
+
<span style="background-color:#ffffff;">To install </span><span style="background-color:#ffffff;">'''Docker '''</span><span style="background-color:#ffffff;">on </span><span style="background-color:#ffffff;">'''Windows'''</span><span style="background-color:#ffffff;">, we need to install </span><span style="background-color:#ffffff;">'''Docker Desktop'''</span><span style="background-color:#ffffff;">.</span>
+
  
 
Open the web browser and go to this website.
 
Open the web browser and go to this website.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Click on '''Download for Windows''' button.
+
|| Click on '''Download for Windows''' button.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Now click on the '''Download for Windows''' button according to your cpu architecture.  
+
|| Now click on the '''Download for Windows''' button according to your CPU architecture.  
  
 
For this tutorial we are using''' x86_64'''
 
For this tutorial we are using''' x86_64'''
Line 162: Line 152:
 
Wait for the setup to finish downloading.
 
Wait for the setup to finish downloading.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Run the downloaded installer by double clicking on it.
+
|| Run the downloaded installer by double clicking on it.
  
 
Click on Yes in the '''User Account Control''' prompt.
 
Click on Yes in the '''User Account Control''' prompt.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Once the download is complete, locate the downloaded file.
+
|| Once the download is complete, locate the downloaded file.
  
I have saved in the '''Downloads''' folder and run the installer by double clicking on it.
+
I have saved in '''Downloads''' folder and run the installer by double clicking on it.
  
 
Click yes in the '''User Account Control''' window.
 
Click yes in the '''User Account Control''' window.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Keep the installer open.
+
|| Keep the installer open.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | '''Docker '''will start installing.
+
|| '''Docker ''' will start installing.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Only narration.
+
|| Only narration.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | For me the version of '''Docker Desktop''' is 4 point 31 point 1.
+
|| For me the version of '''Docker Desktop''' is 4 point 31 point 1.
  
 
You may download an updated version.
 
You may download an updated version.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Select '''Use WSL2 instead of HyperV '''when prompted.
+
|| Select '''Use WSL2 instead of HyperV '''when prompted.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Select '''Use WSL2 instead of HypherV '''when prompted.
+
|| Select '''Use WSL2 instead of HypherV ''' when prompted.
  
 
The installation will continue.
 
The installation will continue.
Line 186: Line 176:
 
It may take five to ten minutes for the installation to complete.
 
It may take five to ten minutes for the installation to complete.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | After installation, click on Close and Restart
+
|| After installation, click on Close and Restart
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | After the installation is complete, click on''' Close and Restart.'''
+
|| After the installation is complete, click on ''' Close and Restart'''.
  
 
This will restart your system.
 
This will restart your system.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | After restarting, open the start menu by clicking on the start button.
+
|| After restarting, open the start menu by clicking on the start button.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | After restarting, open the start menu by clicking on the start button.
+
|| After restarting, open the start menu by clicking on the start button.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Type “'''Docker Desktop'''” in the search bar.
+
|| Type “'''Docker Desktop'''” in the search bar.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Type '''Docker Desktop''' in the search bar.
+
|| Type '''Docker Desktop''' in the search bar.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | From the search results, select '''Docker Desktop'''.
+
|| From the search results, select '''Docker Desktop'''.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | From the search results, select '''Docker Desktop'''.
+
|| From the search results, select '''Docker Desktop'''.
  
 
The '''Docker Desktop''' window will open.
 
The '''Docker Desktop''' window will open.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Click on '''Accept '''in the '''Docker Subscription Service Agreement '''window.
+
|| Click on '''Accept '''in the '''Docker Subscription Service Agreement '''window.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Click on '''Accept '''in the '''Docker Subscription Service Agreement''' window.
+
|| Click on '''Accept ''' in the '''Docker Subscription Service Agreement''' window.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" |  
+
|| Click on '''Use Recommended Settings''' option in the '''Complete Docker Installation''' window.
 
+
Click on '''Use Recommended Settings''' option in the '''Complete Docker Installation''' window.
+
  
 
Click on the '''Finish '''button
 
Click on the '''Finish '''button
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Another window will appear with the title “'''Finish Setting Up Docker Desktop'''”.
+
|| Another window will appear with the title “'''Finish Setting Up Docker Desktop'''”.
  
 
Click on the '''Use Recommended Settings''' option.
 
Click on the '''Use Recommended Settings''' option.
  
Click on the '''Finish '''button.
+
Click on the '''Finish ''' button.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Click on '''Yes '''in the new '''User Account Control''' window.
+
|| Click on '''Yes '''in the new '''User Account Control''' window.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Click on '''Yes '''in the new '''User Account Control window.'''
+
|| Click on '''Yes '''in the new '''User Account Control window'''.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Only narration.
+
|| Point to the welcome message.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | The '''Welcome to Docker''' '''Desktop''' window will appear.
+
|| The '''Welcome to Docker '''Desktop''' window will appear.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Click on the “'''Continue without signing in'''” option.
+
|| Click on the “'''Continue without signing in'''” option.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Click on the “'''Continue without signing in'''” option.
+
|| Click on the “'''Continue without signing in'''” option.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Choose your role from “'''What’s your role?'''” drop down menu
+
|| Choose your role from “'''What’s your role?'''” drop down menu
  
 
Choose “'''Student'''” in '''What’s your role'''?
 
Choose “'''Student'''” in '''What’s your role'''?
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Choose the desired role from the “'''What’s your role'''” drop down menu.
+
|| Choose the desired role from the “'''What’s your role'''” drop down menu.
  
 
Here I am choosing '''Student'''.
 
Here I am choosing '''Student'''.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | choose the desired option in “'''What will you use Docker for'''?” window.
+
|| choose the desired option in “'''What will you use Docker for'''?” window.
 
Selected “'''For Work”'''
 
Selected “'''For Work”'''
  
Line 238: Line 226:
  
 
Hover over '''skip''' button
 
Hover over '''skip''' button
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Similarly choose the desired option in “'''What will you use Docker for?'''”.
+
|| Similarly choose the desired option in “'''What will you use Docker for?'''”.
 +
 
 +
I have selected “'''For Work”'''.
  
I have selected “'''For Work”'''
 
 
Click on the '''Continue '''button.
 
Click on the '''Continue '''button.
  
 
You may '''skip''' this action but I will click on '''Continue''' to go forward.
 
You may '''skip''' this action but I will click on '''Continue''' to go forward.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Only narration.
+
|| Only narration.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Wait for the '''Docker Engine''' to start running.
+
|| Wait for the '''Docker Engine''' to start running.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Hover over the “'''Your running containers show up here'''” text.
+
|| Hover over the “'''Your running containers show up here'''” text.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Once the engine is started, you will be able to see the running '''containers'''.
+
|| Once the engine is started, you will be able to see the running '''containers'''.
Since we have not created any '''container '''yet, this list is empty.
+
 
 +
Since we have not created any '''containers ''' yet, this list is empty.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Open the start menu by clicking on the '''Start '''button.
+
|| Open the start menu by clicking on the '''Start '''button.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Now open the start menu by clicking on the '''Start '''button.
+
|| Now open the start menu by clicking on the '''Start ''' button.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Type '''Command Prompt''' in the search bar.
+
|| Type '''Command Prompt''' in the search bar.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Search for '''Terminal''' in the search bar.
+
|| Search for '''Terminal''' in the search bar.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Click on '''Command Prompt''' in the search results.
+
|| Click on '''Command Prompt''' in the search results.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Click on '''Terminal''' in the search results.
+
|| Click on '''Terminal''' in the search results.
  
  
 
The '''Terminal''' window will open.
 
The '''Terminal''' window will open.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" |  
+
|| Type '''docker --version''' and press Enter.
 
+
|| We can check the version of '''Docker '''installed using the following command.
Type '''docker --version''' and press Enter.
+
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | We can check the version of '''Docker '''installed using the following command.
+
  
 
'''docker hyphen hyphen version'''.
 
'''docker hyphen hyphen version'''.
Line 273: Line 261:
 
Here it shows the version 26 point 1 point 4.
 
Here it shows the version 26 point 1 point 4.
  
The version may be different for you.
+
The version may differ for you.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" |
+
|| Type the command '''docker run hello-world''' and press '''Enter'''.
 +
|| Now, let’s run a '''Docker ''' container to verify the installation.
  
 
Type the command '''docker run hello-world''' and press '''Enter'''.
 
Type the command '''docker run hello-world''' and press '''Enter'''.
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Now, let’s run a '''Docker '''container to verify the installation.
 
  
Type the command '''docker run hello-world''' and press '''Enter'''.
+
The''' hello-world''' '''Docker image''' is downloaded from '''Docker Hub''' and '''executed'''.  
 
+
The''' hello-world''' '''Docker '''image is downloaded from '''Docker Hub''' and '''executed'''.  
+
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Highlight '''Hello from Docker!'''
+
|| Highlight '''Hello from Docker!'''
  
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | The output “'''Hello from Docker!'''” confirms the successful installation of '''Docker'''.
+
|| The output “'''Hello from Docker!'''” confirms the successful installation of '''Docker'''.
  
 
Close the terminal window..
 
Close the terminal window..
Line 292: Line 278:
 
Close the '''Docker Desktop.'''
 
Close the '''Docker Desktop.'''
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show Slide:
+
|| Show Slide:
  
 
'''Summary'''
 
'''Summary'''
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | This brings us to the end of this tutorial. Let us summarise.
+
|| This brings us to the end of this tutorial.
 +
 
 +
Let us summarise.
  
 
In this tutorial, we have learnt to
 
In this tutorial, we have learnt to
  
* <div style="margin-left:1.27cm;margin-right:0cm;">Install '''Docker '''and its dependencies on '''Ubuntu'''</div>
+
* Install '''Docker ''' and its dependencies on '''Ubuntu'''
* <div style="margin-left:1.27cm;margin-right:0cm;">Install '''Docker Desktop '''on '''Windows'''</div>
+
* Install '''Docker Desktop '''on '''Windows'''
* <div style="margin-left:1.27cm;margin-right:0cm;">Download and run a '''Docker '''container</div>
+
* Download and run a '''Docker ''' container
  
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show Slide: '''About Spoken Tutorial project'''
+
|| Show Slide: '''About Spoken Tutorial project'''
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | The video at the following link summarises the '''Spoken Tutorial project'''.
+
|| The video at the following link summarises the '''Spoken Tutorial project'''.
  
 
Please download and watch it
 
Please download and watch it
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.095cm;padding-right:0.191cm;" | Show Slide: '''Spoken Tutorial Workshops'''
+
|| Show Slide: '''Spoken Tutorial Workshops'''
| style="border-top:0.5pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.079cm;padding-right:0.191cm;" | <span style="background-color:#ffffff;">The&nbsp;</span><span style="background-color:#ffffff;">'''Spoken Tutorial Project'''</span><span style="background-color:#ffffff;">&nbsp;team </span>conducts workshops and gives certificates.
+
|| The '''Spoken Tutorial Project ''' team conducts workshops and gives certificates.
  
  
 
For more details, please write to us.
 
For more details, please write to us.
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.095cm;padding-right:0.191cm;" | Show Slide:
+
||Show Slide:
  
 
'''Answers for THIS Spoken Tutorial'''
 
'''Answers for THIS Spoken Tutorial'''
| style="background-color:#ffffff;border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.095cm;padding-right:0.191cm;" |  
+
||  
* <div style="margin-left:1.905cm;margin-right:0cm;">Do you have questions in THIS Spoken Tutorial?</div>
+
* Do you have questions in THIS Spoken Tutorial?
* <div style="margin-left:1.905cm;margin-right:0cm;">Please visit this site.</div>
+
* Please visit this site.
* <div style="margin-left:1.905cm;margin-right:0cm;">Choose the minute and second where you have the question</div>
+
* Choose the minute and second where you have the question
* <div style="margin-left:1.905cm;margin-right:0cm;">Explain your question briefly</div>
+
* Explain your question briefly
* <div style="margin-left:1.905cm;margin-right:0cm;">The Spoken Tutorial project will ensure an answer</div>
+
* The Spoken Tutorial project will ensure an answer
* <div style="margin-left:1.905cm;margin-right:0cm;">You will have to register to ask questions</div>
+
* You will have to register to ask questions
  
 
|-
 
|-
| style="background-color:#ffffff;border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.095cm;padding-right:0.191cm;" | Show Slide:
+
||Show Slide:
  
 
'''Forum for specific questions:'''
 
'''Forum for specific questions:'''
  
| style="background-color:#ffffff;border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.095cm;padding-right:0.191cm;" | The Spoken Tutorial forum is for specific questions on this tutorial.
+
|| The Spoken Tutorial forum is for specific questions on this tutorial.
  
 
Please do not post unrelated and general questions on them.
 
Please do not post unrelated and general questions on them.
Line 339: Line 327:
 
With less clutter, we can use these discussions as instructional material.
 
With less clutter, we can use these discussions as instructional material.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show Slide: '''FOSSEE Forum'''
+
|| Show Slide: '''FOSSEE Forum'''
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | For any general or technical questions on '''Docker''', visit the FOSSEE forum and post your question.
+
|| For any general or technical questions on '''Docker''', visit the FOSSEE forum and post your question.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Slide: '''Acknowledgement'''
+
|| Slide: '''Acknowledgement'''
  
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Spoken Tutorial Project was established by the Ministry of Education, Government of India.
+
|| Spoken Tutorial Project was established by the Ministry of Education, Government of India.
 
|-
 
|-
| style="border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | Show slide:
+
|| Show slide:
  
 
'''Thank You'''
 
'''Thank You'''
| style="border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.092cm;padding-right:0.191cm;" | This is Aditya Kushwaha, a FOSSEE semester long intern 2024, IIT Bombay, signing off.
+
|| This is Aditya Kushwaha, a FOSSEE semester long intern 2024, IIT Bombay, signing off.
  
 
Thanks for joining.
 
Thanks for joining.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 11:32, 20 September 2024

Visual Cue Narration
Show Slide:

Title Slide

Hello and welcome to the Spoken Tutorial on Installation of Docker.
Show Slide:

Learning Objectives

In this tutorial, we will learn how to
  • Install Docker and its dependencies on Ubuntu
  • Install Docker Desktop on Windows
  • Download and run a Docker container
Show Slide:

System Requirements

To record this tutorial, I am using
  • Ubuntu Linux OS version 22.04
  • Windows 11 and
  • Docker version 27.0.2
Show Slide:

Installation Requirements

  • You require a working Internet connection.

Show Slide:Installation Requirements

For Linux:

  • 64-bit kernel and CPU support for virtualization.
  • At least 4 GB of RAM.

For Windows:

  • Windows 10 or Higher
  • At least 4 GB of RAM
  • For the installation you require a working Internet connection.
  • Your system should have the following requirements to install Docker.
Show Slide:

Prerequisite

https://www.spoken-tutorial.org

To follow this tutorial,
  • You must have basic knowledge of using Linux terminal
  • For pre-requisite Linux tutorials, please visit this site
Show slide:

Code files

  • The files used in this tutorial are provided in the Code files link.
  • Please download and extract the files.
  • Make a copy and then use them while practising.
Press Ctrl, Alt and T keys.

Type, sudo apt-get update

Press Enter.

Type the password when prompted.

Open the terminal by pressing Ctrl, Alt and T keys simultaneously.

Type the command sudo apt hyphen get update and press Enter.

When prompted for password, enter your password and press Enter.

Wait for the repositories to be updated.

Go to the Downloads directory using the command cd Downloads.

Type,

cat docker_commands.sh Highlight the command

I have downloaded a docker_commands.sh file and saved it in my Downloads folder.

Change to the directory where you have downloaded the code files.

Type cat space docker_commands.sh

To make the docker installation easy we have given the commands in shell script.

We shall use this file and install the dependencies for Docker.

This file is available in the code file link of this tutorial.

Type sudo sh docker_commands.sh and press Enter. In the terminal type the command sudo sh docker_commands.sh and press Enter.

The required packages will start installing.

Wait for the installation to complete.

Type docker --version

Press Enter

Highlight the output of the command.

Once the installation is complete, let us check the version of Docker.

Type the command docker space hyphen hyphen version.

Press Enter.

You may get an updated version from the repository.

Type the command sudo docker run hello-world and pressEnter To verify the installation of Docker, we will run thehello-world Docker image.

Type the commandsudo docker run hello hyphen world and pressEnter.

This command downloads the hello world docker image from Docker Hub.

It then creates a container for the image.

Highlight the container id. The command returns the id of the container created.
Keep the terminal window open and highlight the output of the previous command. On running the hello-world Docker image,Hello from Docker gets printed on the terminal.

If you get the same output, the installation of Docker is successful.

Docker Installation on Windows

https://docs.docker.com/desktop/install/windows-install/

Next we will see how to install Docker on Windows.

To install Docker on Windows, we need to installDocker Desktop.

Open the web browser and go to this website.

Click on Download for Windows button. Now click on the Download for Windows button according to your CPU architecture.

For this tutorial we are using x86_64

Click on Docker Desktop for Windows - x86_64

The download will start.

Wait for the setup to finish downloading.

Run the downloaded installer by double clicking on it.

Click on Yes in the User Account Control prompt.

Once the download is complete, locate the downloaded file.

I have saved in Downloads folder and run the installer by double clicking on it.

Click yes in the User Account Control window.

Keep the installer open. Docker will start installing.
Only narration. For me the version of Docker Desktop is 4 point 31 point 1.

You may download an updated version.

Select Use WSL2 instead of HyperV when prompted. Select Use WSL2 instead of HypherV when prompted.

The installation will continue.

It may take five to ten minutes for the installation to complete.

After installation, click on Close and Restart After the installation is complete, click on Close and Restart.

This will restart your system.

After restarting, open the start menu by clicking on the start button. After restarting, open the start menu by clicking on the start button.
Type “Docker Desktop” in the search bar. Type Docker Desktop in the search bar.
From the search results, select Docker Desktop. From the search results, select Docker Desktop.

The Docker Desktop window will open.

Click on Accept in the Docker Subscription Service Agreement window. Click on Accept in the Docker Subscription Service Agreement window.
Click on Use Recommended Settings option in the Complete Docker Installation window.

Click on the Finish button

Another window will appear with the title “Finish Setting Up Docker Desktop”.

Click on the Use Recommended Settings option.

Click on the Finish button.

Click on Yes in the new User Account Control window. Click on Yes in the new User Account Control window.
Point to the welcome message. The Welcome to Docker Desktop window will appear.
Click on the “Continue without signing in” option. Click on the “Continue without signing in” option.
Choose your role from “What’s your role?” drop down menu

Choose “Student” in What’s your role?

Choose the desired role from the “What’s your role” drop down menu.

Here I am choosing Student.

choose the desired option in “What will you use Docker for?” window.

Selected “For Work”

Click on the Continue button in “What will you use Docker for?”

Hover over skip button

Similarly choose the desired option in “What will you use Docker for?”.

I have selected “For Work”.

Click on the Continue button.

You may skip this action but I will click on Continue to go forward.

Only narration. Wait for the Docker Engine to start running.
Hover over the “Your running containers show up here” text. Once the engine is started, you will be able to see the running containers.

Since we have not created any containers yet, this list is empty.

Open the start menu by clicking on the Start button. Now open the start menu by clicking on the Start button.
Type Command Prompt in the search bar. Search for Terminal in the search bar.
Click on Command Prompt in the search results. Click on Terminal in the search results.


The Terminal window will open.

Type docker --version and press Enter. We can check the version of Docker installed using the following command.

docker hyphen hyphen version.

Here it shows the version 26 point 1 point 4.

The version may differ for you.

Type the command docker run hello-world and press Enter. Now, let’s run a Docker container to verify the installation.

Type the command docker run hello-world and press Enter.

The hello-world Docker image is downloaded from Docker Hub and executed.

Highlight Hello from Docker! The output “Hello from Docker!” confirms the successful installation of Docker.

Close the terminal window..

Close the Docker Desktop.

Show Slide:

Summary

This brings us to the end of this tutorial.

Let us summarise.

In this tutorial, we have learnt to

  • Install Docker and its dependencies on Ubuntu
  • Install Docker Desktop on Windows
  • Download and run a Docker container
Show Slide: About Spoken Tutorial project The video at the following link summarises the Spoken Tutorial project.

Please download and watch it

Show Slide: Spoken Tutorial Workshops The Spoken Tutorial Project team conducts workshops and gives certificates.


For more details, please write to us.

Show Slide:

Answers for THIS Spoken Tutorial

  • Do you have questions in THIS Spoken Tutorial?
  • Please visit this site.
  • Choose the minute and second where you have the question
  • Explain your question briefly
  • The Spoken Tutorial project will ensure an answer
  • You will have to register to ask questions
Show Slide:

Forum for specific questions:

The Spoken Tutorial forum is for specific questions on this tutorial.

Please do not post unrelated and general questions on them.

This will help reduce the clutter.

With less clutter, we can use these discussions as instructional material.

Show Slide: FOSSEE Forum For any general or technical questions on Docker, visit the FOSSEE forum and post your question.
Slide: Acknowledgement Spoken Tutorial Project was established by the Ministry of Education, Government of India.
Show slide:

Thank You

This is Aditya Kushwaha, a FOSSEE semester long intern 2024, IIT Bombay, signing off.

Thanks for joining.

Contributors and Content Editors

Madhurig, Nirmala Venkat