Usage Guidelines – Ubuntu 22.04 Minimal with Docker® Community Edition

Connection to Ubuntu 22.04 Minimal with Docker® Community Edition

  1. After purchasing and starting the VM, you should know its IP address. You can find it in the personal account of Azure. You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line “Public IP Address”.
  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 a 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 at 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 a 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 command

> sudo docker run hello-world

  1. If, after entering the previous command, you see the “Cannot connect to the Docker daemon” notification, then 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. In order to confirm the installation of Docker Compose, you can run the command:

> docker compose version

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