We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. Get files inside a running container without binding a file share.
Describe the solution you'd like GetArchiveFromContainerAsync
Describe alternatives you've considered -
Additional context It should be an equivalent to: https://github.com/HofmeisterAn/dotnet-testcontainers/blob/f25ed8705fa72c9d03eb185c41bd783db0fbb908/src/DotNet.Testcontainers/Containers/IDockerContainer.cs#L141 https://github.com/HofmeisterAn/dotnet-testcontainers/blob/f25ed8705fa72c9d03eb185c41bd783db0fbb908/src/DotNet.Testcontainers/Clients/TestcontainersClient.cs#L147
E.g. something like ReadFileAsync. Extract the archive from GetArchiveFromContainerAsync to the host.
ReadFileAsync
GetArchiveFromContainerAsync
The text was updated successfully, but these errors were encountered:
[HofmeisterAn#430] #IMPLEMENT 'assemblyName: DotNet.Testcontainers; f…
f697b0f
…unction: CopyFileFromContainerAsync' {Implemented CopyFileFromContainerAsync to get files from inside a running container.}
77ca92d
[#430] #IMPLEMENT 'assemblyName: DotNet.Testcontainers; function: Cop…
16d9c43
…yFileFromContainerAsync' {Add CopyFileFromContainerAsync to get files from a running container.}
[#430] #REVIEW 'assemblyName: DotNet.Testcontainers; refactor: CopyFi…
3c370b1
…leFromContainerAsync' {Rename CopyFileFromContainerAsync to ReadFileAsync, reduce complexity.}
No branches or pull requests
Is your feature request related to a problem? Please describe.
Get files inside a running container without binding a file share.
Describe the solution you'd like
GetArchiveFromContainerAsync
Describe alternatives you've considered
-
Additional context
It should be an equivalent to:
https://github.com/HofmeisterAn/dotnet-testcontainers/blob/f25ed8705fa72c9d03eb185c41bd783db0fbb908/src/DotNet.Testcontainers/Containers/IDockerContainer.cs#L141
https://github.com/HofmeisterAn/dotnet-testcontainers/blob/f25ed8705fa72c9d03eb185c41bd783db0fbb908/src/DotNet.Testcontainers/Clients/TestcontainersClient.cs#L147
E.g. something like
ReadFileAsync
. Extract the archive fromGetArchiveFromContainerAsync
to the host.The text was updated successfully, but these errors were encountered: