Du Shiqiao
Du Shiqiao

Reputation: 397

What is the equivalent of `docker create` for Azure Container Instances?

In Docker, there are run and create commands. The former creates a new container and immediately run it while the latter just creates without running it. When I create a Container Group in Azure Container Instances, it will immediately run like docker run. Is there a equivalent to docker create for Azure Container Instances?

Upvotes: 1

Views: 122

Answers (2)

4c74356b41
4c74356b41

Reputation: 72171

I dont think there is, so the alternative would be:

az container create xxx
az container stop xxx

Upvotes: 1

Sajeetharan
Sajeetharan

Reputation: 222582

I think you are looking to create a container instance in Azure? in that case you need to use

az container create --resource-group

and related commands

Upvotes: 0

Related Questions