E5FB Enable checkpoint/restore of containers with TTY by rst0git · Pull Request #38405 · moby/moby · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions daemon/checkpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,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)
}
Expand Down
0