Reputation: 61
I have a container image (rancher/rancher:latest) that I need to pass "--acme-domain=" flag. How can this be done in Azure Aci?
Upvotes: 3
Views: 1390
Reputation: 836
After a lot of trial and error I was able to do this using the command parameter in the Azure Resource Manager template. The gist of it was that I had to explicitly call the container entry point, e.g. "command":["./scripts/entry","--acme-domain=foo"]
. I suppose you could do the same with the --command-line
argument in the Azure CLI.
Upvotes: 1
Reputation: 31414
You can try to set an environment variable for your tag "--acme-domain=" in Azure ACI.
For more details, see Set environment variables in Azure ACI.
Upvotes: 0