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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s