Skip to content

Commit

Permalink
[prism] Auto remove containers after stop. (#28570)
Browse files Browse the repository at this point in the history
Co-authored-by: lostluck <[email protected]>
  • Loading branch information
lostluck and lostluck authored Sep 20, 2023
1 parent 5fb13e0 commit 17db78c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdks/go/pkg/beam/runners/prism/internal/environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ func dockerEnvironment(ctx context.Context, logger *slog.Logger, dp *pipepb.Dock
}, &container.HostConfig{
NetworkMode: "host",
Mounts: mounts,
AutoRemove: true,
}, nil, nil, "")
if err != nil {
cli.Close()
Expand Down

0 comments on commit 17db78c

Please sign in to comment.