Guidance on usage: Docker Compose Server on Ubuntu 20.04 LTS

Configuring and connecting to Docker Compose Server on Ubuntu 20.04 LTS

  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. To connect to a VM, you need the PuTTy application to connect via ssh. You can download it at 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 a username and password that were specified when creating the virtual machine. The next window is displayed
  1. To check that Docker is up and running, enter the command 

> sudo docker run hello-world

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

             sudo systemctl start docker


             sudo service docker start

  1. Then rerun the command to verify Docker is running 

sudo docker run hello-world

  1. Run the following command to confirm Docker Compose is installed:

docker-compose -version

Now you can use Docker Compose Server on Ubuntu 20.04 LTS 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