Usage Guidelines – Debian 11 with Docker® Compose

Configuration and Connection to the Debian 11 with Docker® Compose

  1. After purchasing and starting the VM, you need to find its IP address. You can locate it in your Azure personal account. Select the virtual machine from the list and click on the “Overview” item to find the IP address listed under “Public IP Address”.
  1. To connect to a VM, you need the PuTTY application to connect via SSH. You can download it from the following link – Download
  1. Run PuTTY, enter the VM address in the “Host” field, and click “Open” to connect.
  1. In the opened console, you should enter the username and password specified when creating the virtual machine. The following window is displayed.
  1. To check if Docker is up and running, enter the command: 

> sudo docker run hello-world

  1. If you receive the message ‘Cannot connect to the Docker daemon‘, it means that you will need to start the Docker service. Run the following commands:

             sudo systemctl start docker

             or

             sudo service docker start

  1. After starting the Docker service, rerun the command to verify if Docker is running: 

sudo docker run hello-world

  1. To confirm if Docker Compose is installed, run the following command:

docker-compose -version

Now you can use Debian 11 with Docker® Compose adapted for Azure. 

The advantage of this VM is that it has been optimized for better performance.

Please refer to Dockers documentation – Get started with Docker Compose