Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions compute/container-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```