Usage Guidelines – Ubuntu 18.04 Minimal with Docker® Community Edition

Connection to Ubuntu 18.04 Minimal with Docker® Community Edition

  1. After purchasing and starting the VM, you need to know its IP address, which can be found in your Azure personal account. Select the virtual machine from the list and click on the “Overview” item. Your IP address will be displayed in the “Public IP Address” line.
  1. You can connect to your VM in two ways. 
  • With OpenSSH

In the Windows 10 operating system (starting with version 1809), an OpenSSH client is available, with which you can connect to Linux servers via SSH. If Windows 10 is suitable and the OpenSSH client is installed, you can start connecting via SSH. To do this, launch a normal Windows command prompt and enter the command:

ssh user@*vm_ip*”,

where “user” is the username that was specified while creating the virtual machine and “*vm_ip*” is the VM IP address.

In the opened console, it is necessary to enter the password that was specified while creating the virtual machine.

  • With the PuTTY application 

To do this, you need the PuTTY application to connect via SSH. You can download it from the following link – Download

Run PuTTY, enter the VM address in the “Host” field, and click “Open” to connect.

In the opened console, you will need to enter the username and password that were specified while the VM was being created (you’ll not see the password in the console while entering it). 

  1. To check that Docker is up and running, enter the following command:

> sudo docker run hello-world

  1. If you see the ‘Cannot connect to the Docker daemon’ notification after entering the previous command, it means you are not connected to Docker. To resolve this issue, enter one of the following commands:

> sudo systemctl start docker

or

> sudo service docker start

  1. After that, enter the command again > sudo docker run hello-world
  1. To confirm the installation of Docker Compose, run the command:

> docker -v

  1. For a more detailed description of how Docker works, you can refer to the official documentation by clicking on the link – Try Docker Compose