We are trying to deploy a Docker Container on a Service Fabric running on Azure Stack.
Unfortunately, it constantly fails with the error message Container deployment is not supported on the node
. The container is not pulled or even started.
We don't see any reason why the container does not start:
We have set up the very same configuration in the cloud and the container executes without problems:
Does anybody know this issue? Might it be related to using the Azure Stack?
We figured it out ourselves. One has to check the cluster manifest, whether there is a property called "DisableContainers". In our case it was set to true, thus not allowing container deployments on the cluster node. Updating the service manifest via PowerShell with the correct setting solved the issue.
The trick was, that the official MS docs tells us that the default value is FALSE. The property is not listed in our public cluster due to its default state. On the Azure Stack, on the other hand, it is set to TRUE without explanation even if you explicitly deploy on nodes with Docker support.