You can set "dotnet [args]" in command line.
Then set demoapplication1234.azurecr.io:443/demoapplication: to image name and add container option as '--rm --workdir c:/app'
You cannot do -it as batch is not for interactive operation.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
how to run container image in azure batch (Task) when I run this command in docker
docker run -it demoapplication1234.azurecr.io:443/demoapplication
it navigates to different directory c:/app and i am passing arguments and getting the result
*how to pass arguments in azure batch and and how should i pass docker run command in azure batch task command line *
You can set "dotnet [args]" in command line.
Then set demoapplication1234.azurecr.io:443/demoapplication: to image name and add container option as '--rm --workdir c:/app'
You cannot do -it as batch is not for interactive operation.