Open marcuslindblom opened 7 years ago
Is the correct solution to use OpenStdin
in my CreateContainerParameters
? Anyways, it does not seem to work? How can I see the complete command sequence including run options?
I'm also interested in this option since there are a lot of CreateContainerParameters but i can't find anything that would enable -i kind of behavior like docker run -i
This is an old repo we no longer maintain but take a look how we did it here for a sample: https://github.com/Microsoft/Docker-PowerShell/blob/0ee84f8d2a170070dc62547949a126fdcf31e071/src/Docker.PowerShell/Cmdlets/InvokeContainerImage.cs
I'm using the following code to create my
CreateContainerParameters
I need to add the the interactive flag
-i
when the container runs.I need the container command to run like this:
How can I accomplish this?
Output of
dotnet --info
:What version of Docker.DotNet?: