James
James

Reputation: 1261

Cannot start Docker in Azure Shell

When in Azure Shell I type the following

PS Azure:\> systemctl start docker.service

I get the following error message

Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1) Failed to connect to bus: No such file or directory

How can I resolve it?

Thank you in advance

Upvotes: 0

Views: 1415

Answers (1)

Nancy Xiong
Nancy Xiong

Reputation: 28204

Azure Cloud Shell offers a browser-accessible, pre-configured shell experience for managing Azure resources without the overhead of installing, versioning, and maintaining a machine yourself. You could read the supported features and tools here.

Moreover, you could not run the docker daemon in the Azure cloud shell since Cloud Shell utilizes a container to host your shell environment, as a result running the daemon is disallowed. You could Utilize docker-machine to manage Docker containers from a remote Docker host.

Upvotes: 2

Related Questions