Relative Content

Tag Archive for dockerpowershell

Trying to build image on Azure

Below is the complete powershell script. I am having issues with the az acr build command.
I am passing the $sourceLocation varaible as the source which the current directory. New to containers so perhaps I am totally wrong. Please advise.

How to pass docker commands through Powershell

Everyday i have to restart docker containers everyday. Don’t ask. So i want to make Powershell script that connects through SSH to server with docker and then restarts all containers. So right now my script looks like this: