Skip to content

Commit a500c39

Browse files
committed
Move "session" support out of experimental for API 1.39 and up
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 60c75fd commit a500c39

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cli/command/image/build_session.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ import (
2828
const clientSessionRemote = "client-session"
2929

3030
func isSessionSupported(dockerCli command.Cli) bool {
31+
if versions.GreaterThanOrEqualTo(dockerCli.Client().ClientVersion(), "1.39") {
32+
return true
33+
}
3134
return dockerCli.ServerInfo().HasExperimental && versions.GreaterThanOrEqualTo(dockerCli.Client().ClientVersion(), "1.31")
3235
}
3336

0 commit comments

Comments
 (0)