Skip to content

Commit 19c5aab

Browse files
authored
Merge pull request #2990 from cpuguy83/fix_start_blocking
Fix `docker start` blocking on signal handling
2 parents cde06fb + e1a7517 commit 19c5aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/command/container/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func runStart(dockerCli command.Cli, opts *startOptions) error {
7575
// We always use c.ID instead of container to maintain consistency during `docker start`
7676
if !c.Config.Tty {
7777
sigc := notfiyAllSignals()
78-
ForwardAllSignals(ctx, dockerCli, c.ID, sigc)
78+
go ForwardAllSignals(ctx, dockerCli, c.ID, sigc)
7979
defer signal.StopCatch(sigc)
8080
}
8181

0 commit comments

Comments
 (0)