Docker for Microsoft Azure Ubuntu Linux VM

Hi Guys! Welcome to DevOps Hunter full of technical bytes for cloud computing and DevOps Engineers.  In this post, I would like to share my experiment with Azure cloud launching Ubuntu VM to work on Docker-CE installation. The docker documentation provides the simplified convenient script for almost every Linux platform where all the steps are described there or in our previous blog post are included in it.


Create Ubuntu Virtual Machine on Microsoft Azure Cloud

Get started Docker for Azure on Ubuntu Linux

Step 1 : Login your Azure Cloud account.
Step 2 : Get the connection details of Ubuntu16.04 VM
             Open the GitBash or Git CMD to run the following :

             ssh viswasri@23.1101.16.242 # Try with your VM here 
            
Step 3 : Validate is there any docker installed version
              sudo docker version
            
Step 4 : Use the Convenient way of installation that isusing scripted way.
              curl -fsSL https://get.docker.com -o get-docker.sh
                             ls -l #tto check script file
                             sudo sh get-docker.sh # installing docker
Step 5: Now Docker is all set and again we need to validate again to check version that shows everything without fail.
sudo docker version Step 6: Let's run a docker container for fun.
sudo docker run kouzikaile/walesay cowsay Viswasri-DevOpsExpert

Image screenshot of cowsay command on docker container that runs in a Microsoft Azure Cloud VM.
Official Reference: Docker-CE on Ubuntu install using the convenience script


Comments

Popular posts from this blog

Ansible Jinja2 Templates: A Complete Guide with Examples

Ansible 11 The uri module with examples

Jenkins Active choices parameter - Dynamic input