pyinvoke / invoke

Pythonic task management & command execution.
http://pyinvoke.org
BSD 2-Clause "Simplified" License
4.38k stars 367 forks source link

Invoke does not run Docker command #862

Open jyotirmay123 opened 2 years ago

jyotirmay123 commented 2 years ago

I am trying to run below command from Invoke module. Can someone help me if I am doing something wrong here:

I am using windows machine with powershell.

  docker run -v C:/Users/JyotirmaySenapati/Desktop/PATH_TO_PROJECT/host_secrets.json:/azure- 
  functions-host/Secrets/host.json -e AzureWebJobsSecretStorageType=files -p 7071:80 -t somae_image_name:latest
FlavioAlexander commented 2 years ago

Did you figure this one out? I am having the same issue