Docker Containers on Azure VMSS

Ruan Nagel 0 Reputation points
2025-02-13T11:48:24.66+00:00

Good day. I would like to deploy docker containers on Azure VMSS. What needs to happen is that I have 3 docker containers. I want a VM to have all three docker containers. When traffic expands, there will be multiple VMs having the same docker containers. However, at the moment, I am struggling with getting the containers on VMSS. I have created a "Modify custom data" script that is supposed to install docker and also pull the containers. However, when using "Serial Console", I can see that docker is not installed. For some reason, SSH is also not working, even though NSG has an inbound rule that allows SSH port 22 to be accessed. Is Azure VMSS able to have containers running on them? And if so, how can I achieve this scenario. I am using Container Registry, since that is where the docker images are uploaded.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,348 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
427 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.