From ba8c0823d0979aacdde7df9dd0bda99d93ff00e3 Mon Sep 17 00:00:00 2001 From: JJ Merelo Date: Sun, 18 Feb 2018 10:32:24 +0100 Subject: [PATCH] Changes to new syntax --- compute/container-service.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/compute/container-service.md b/compute/container-service.md index 168daee..c2a5f11 100755 --- a/compute/container-service.md +++ b/compute/container-service.md @@ -19,14 +19,19 @@ Here are some useful commands that may help you on your journey # Managing Azure Container Service (ACS) + +Please check +before +[how to create a container registry](https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/container-registry/container-registry-get-started-azure-cli.md) + This command will create a new container service for either Docker Swarm or DCOS ``` # Using DCOS - default -az vm container create -g MyRG -n ACS1 --dns-name-prefix acsdemo +az container create --name ACS1 -g MyRg --image MyRg.azurecr.io/imagename --dns-name-prefix acsdemo # Using Docker Swarm -az vm container create -g MyRG -n ACS1 --dns-name-prefix acsdemo --orchestrator-type Swarm +az container create -g MyRG -n ACS1 --dns-name-prefix acsdemo --orchestrator-type Swarm # Use SSH into jumpbox and use Swarm or DCOS (Mesos, Marathon) tooling ```