Création d'un container dans Azure (PS)
Cette méthode utilise le module Azure CLI. Il est disponible autant sur Windows que sur Unix. Les commandes suivantes sont fonctionnelles pour PowerShell.
3
Create container
## Create container (username and password to add)
az container create `
--resource-group <RG_NAME> `
--name hello-container `
--image hello-world `
--os-type Linux `
--cpu 1 `
--memory 1.5 `
--ports 80 `
--dns-name-label hello-test-1 `
--registry-login-server index.docker.io `
--registry-username "<DOCKERHUB_USERNAME>" `
--registry-password "<DOCKERHUB_TOKEN>" `
--location westeuropeLast updated