Hello,
We must modify the spell in order to really have the latest version which is the "Show the latest version of the Docker extension." section:
az vm extension image list-versions --publisher Microsoft.EnterpriseCloud.Monitoring --location westeurope --name OmsAgentForLinux --query "[].name" -o tsv | sort | tail -n 1
1.9.1 => This is not the latest version
az vm extension image list-versions --publisher Microsoft.EnterpriseCloud.Monitoring --location westeurope --name OmsAgentForLinux --query "[].name" -o tsv | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1
1.13.40 => This is the latest version
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hello,
We must modify the spell in order to really have the latest version which is the "Show the latest version of the Docker extension." section:
az vm extension image list-versions --publisher Microsoft.EnterpriseCloud.Monitoring --location westeurope --name OmsAgentForLinux --query "[].name" -o tsv | sort | tail -n 1
1.9.1 => This is not the latest version
az vm extension image list-versions --publisher Microsoft.EnterpriseCloud.Monitoring --location westeurope --name OmsAgentForLinux --query "[].name" -o tsv | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1
1.13.40 => This is the latest version
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.