Guidance on usage: Docker CE on Ubuntu 18.04 Minimal

Connection to Docker CE on Ubuntu 18.04 Minimal

  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 need the PuTTY application to connect via “ssh” to connect to a VM. You can download it at the following link – Download
  2. 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 specified when creating the virtual machine (the password won’t be displayed while entering).
  1. After confirming the password, you get into the VM
  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

> sudo service docker start

  1. After that, enter the command again > sudo docker run hello-world
  2. In order to confirm the installation of Docker Compose, you need to run the command:

> docker-compose -version

  1. For a more detailed description of how Docker works, you can refer to the official documentation by clicking on the link – https://docs.docker.com/compose/gettingstarted/