소스 검색

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

Enable checkpoint/restore of containers with TTY
Kirill Kolyshkin 6 년 전
부모
커밋
6680a5cfe1
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      daemon/checkpoint.go

+ 0 - 4
daemon/checkpoint.go

@@ -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)
 	}