Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

Using Azure Container Registry for building and deploying .NET Core Apps

Play Using Azure Container Registry for building and deploying .NET Core Apps

The Discussion

  • User profile image
    jaishmathews
    I tried this demo and all executed well except for below last command to run the application.

    $ az container exec --resource-group <> --name <> --exec-command "dotnet run"

    Here an error saying
    "'C:\Program' is not recognized as an internal or external command,
    operable program or batch file."


    I am wondering about the path ('C:\Program') mentioned in the error even though I connected to my Azure ACR. Any clues?


  • User profile image
    Jeremy​Likness
    No idea. Did you build a Windows container? Is it possible the local script is picking up something in the filesystem?
  • User profile image
    jaishmathews
    @JeremyLikness:Linux container only used and my local OS is Windows 10. Container runs directly inside Azure portal on using "Connect" tab of ACI UI. Issue appears on executing docker run command from my local machine.

Add Your 2 Cents