mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #38405 from rst0git/enable-cr-tty
Enable checkpoint/restore of containers with TTY
This commit is contained in:
commit
6680a5cfe1
1 changed files with 0 additions and 4 deletions
|
@ -62,10 +62,6 @@ func (daemon *Daemon) CheckpointCreate(name string, config types.CheckpointCreat
|
|||
return fmt.Errorf("Container %s not running", name)
|
||||
}
|
||||
|
||||
if container.Config.Tty {
|
||||
return fmt.Errorf("checkpoint not support on containers with tty")
|
||||
}
|
||||
|
||||
if !validCheckpointNamePattern.MatchString(config.CheckpointID) {
|
||||
return fmt.Errorf("Invalid checkpoint ID (%s), only %s are allowed", config.CheckpointID, validCheckpointNameChars)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue