Articles → MICROSOFT AZURE → Install Docker Engine On The Virtual Machine

Install Docker Engine On The Virtual Machine






Create A Virtual Machine




Picture showing creating a virtual machine with the ubuntu image
Click to Enlarge


Execute Commands For Installation




sudo docker pull nginx
sudo docker run -d -p 80:80 --name nginx-container nginx



Enable Port 80 On The Virtual Machine




Picture showing enabling port 80 on the virtual machine
Click to Enlarge


Output




Picture showing browsing the nginx server home page on the browser
Click to Enlarge


Create The Container Instance




Picture showing the container instances option in the search box
Click to Enlarge



Picture showing a screen for creating the container instance
Click to Enlarge



Picture showing creating the container using the Create container screen
Click to Enlarge



Picture showing the nginx home page in the browser window once container is created
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Sunday, May 16, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250