Enable checkpoint/restore of containers with TTY
| ... | ... |
@@ -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 |
} |