Guide – How To Start – Docker® Compose Server on Ubuntu 20.04 LTS

Docker® Compose is a toolbox included with Docker. It is designed to solve problems related to the deployment of projects.

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

The guide on how to use 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”)
  2. To connect to a VM, you need the PuTTy application to connect via ssh. You can download it at the following link – Download
  3. 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 password won’t be displayed while entering). 
  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

             or

             sudo service docker start

  1. Then re-run 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

  1. Please refer to Dockers documentation on how to use Docker Compose

https://docs.docker.com/compose/gettingstarted/

Website Built with WordPress.com.

Up ↑