diff --git a/cli/command/image/build_session.go b/cli/command/image/build_session.go index d4cda82fec..6015b0820c 100644 --- a/cli/command/image/build_session.go +++ b/cli/command/image/build_session.go @@ -28,6 +28,9 @@ import ( const clientSessionRemote = "client-session" func isSessionSupported(dockerCli command.Cli) bool { + if versions.GreaterThanOrEqualTo(dockerCli.Client().ClientVersion(), "1.39") { + return true + } return dockerCli.ServerInfo().HasExperimental && versions.GreaterThanOrEqualTo(dockerCli.Client().ClientVersion(), "1.31") }