Browse code

Merge pull request #38405 from rst0git/enable-cr-tty

Enable checkpoint/restore of containers with TTY

Kirill Kolyshkin authored on 2019/03/22 06:12:49
Showing 1 changed files
... ...
@@ -62,10 +62,6 @@ func (daemon *Daemon) CheckpointCreate(name string, config types.CheckpointCreat
62 62
 		return fmt.Errorf("Container %s not running", name)
63 63
 	}
64 64
 
65
-	if container.Config.Tty {
66
-		return fmt.Errorf("checkpoint not support on containers with tty")
67
-	}
68
-
69 65
 	if !validCheckpointNamePattern.MatchString(config.CheckpointID) {
70 66
 		return fmt.Errorf("Invalid checkpoint ID (%s), only %s are allowed", config.CheckpointID, validCheckpointNameChars)
71 67
 	}