Skip to content

Commit

Permalink
[#NON] #CHANGE 'assemblyName: DotNet.Testcontainers; function: Docker…
Browse files Browse the repository at this point in the history
…ContainerOperations'

{Disable AutoRemove (otherwise, we have breaking changes).}
  • Loading branch information
HofmeisterAn committed Mar 1, 2021
1 parent c5647f8 commit 1ebb2b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public async Task<string> RunAsync(ITestcontainersConfiguration configuration, C

var hostConfig = new HostConfig
{
AutoRemove = configuration.CleanUp, // TODO: Should we keep this? If the Docker daemon remove containers we're no longer able to call e. g. `CleanUp(true)` + `GetExitCode()`.
// AutoRemove = configuration.CleanUp, TODO: Should we keep this? If the Docker daemon remove containers we're no longer able to call e. g. `CleanUp(true)` + `GetExitCode()`.
PortBindings = converter.PortBindings,
Mounts = converter.Mounts,
};
Expand Down

0 comments on commit 1ebb2b7

Please sign in to comment.