Windows 컴퓨터에서 Azure Container Instance에 접속하여 Container 실행하기

Azure를 이용하면 Container에 공인 IP를 받을 수 있다

az login

-Linux Image-
az container create -n mynginx -g testRG –image library/nginx –ip-address public –ports 80
az container create -n mymario -g testRG –image pengbai/docker-supermario –ip-address public –ports 8080
az container list -o table
az container exec -n mymario -g testRG –exec-command “/bin/bash”
az container create -n myaspnetapp -g testRG –image –ip-address public
공인 IP Address를 가진 두 웹싸이트에 Chrome으로 접속하여 내용 확인하기

az group delete -n testRG

Leave a Reply

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

You are commenting using your 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