How to Setup Docker Engine Containers on Linux in Azure/AWS/GCP

To run the Docker Engine on Linux in Azure, AWS or GCP, the best way is to install the Docker Engine Community image from the marketplace.  It comes preinstalled with Docker Engine Community and is fully configured as per the requirements to run Docker in the cloud. Click on the links below to deploy into your environments

Getting Started


Once your Docker community server has been deployed, the following links explain how to connect to a Linux VM:



Once connected and logged in, the following section explains how to start using Docker

Test your Docker Engine 


To verify that Docker Engine is working correctly, type the following command 


sudo docker run hello-world


This command downloads a test image and runs it in a container. When the container runs, it prints an informational message and exits as per the following screenshot:



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



sudo systemctl start docker


sudo service docker start


Then re run the command to verify Docker is running 


sudo docker run hello-world


Running Docker and creating containers


You should now be ready to start using Docker and creating container images.


Docker Engine is installed and running. The docker group is created but no users are added to it. You need to use sudo to run Docker commands.


To manage Docker as a non-root user refer to the following documentation –




Docker user guides can be found on –


Reference docuentation for the Docker platforms various APIs, CLIs, and file formats can be found on –



Any questions regarding the installation of this solution, please leave a comment below or contact us and we will assist as much as we can to help you get Docker up and running in your environment.


Disclaimer: Docker is a registred trademark of Docker Inc and is licensed under Apache LicenseV2. No warrantee of any kind, express or implied, is included with this software. Use at your risk, responsibility for damages (if any) to anyone resulting from the use of this software rest entirely with the user. The author is not responsible for any damage that its use could cause.

Avatar for Andrew Fitzgerald
Andrew Fitzgerald

Cloud Solution Architect. Helping customers transform their business to the cloud. 20 years experience working in complex infrastructure environments and a Microsoft Certified Solutions Expert on everything Cloud.

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x