Azure Container Instance를 사용하여 Azure에 docker service 만들기


<Azure Container Instance를 사용하여 Azure에 docker service 만들기>
장점: Docker host가 필요 없다. 간단하다.
az group create -n ACI-Demo -l eastus
az container create -n nginxweb1 -g ACI-Demo –image library/nginx –ip-address public
az container create -n nginxweb2 -g ACI-Demo –image library/nginx –ip-address public –cpu 2 –memory 3.5

az container create -n mario -g ACI-Demo –image pengbai/docker-supermario –ip-address public –ports 8080
az container exec -n mario -g ACI-Demo –exec-command “/bin/bash”
env

az container create -n iisweb1 -g ACI-Demo –image microsoft/iis:nanoserver –ip-address public –os-type Windows

az container list -g ACI-Demo -o table

참고: https://youtu.be/EthBRXMcWao

Advertisements