diff --git a/cli/command/cli.go b/cli/command/cli.go index 59efa9ac2a..a8529b512d 100644 --- a/cli/command/cli.go +++ b/cli/command/cli.go @@ -202,6 +202,9 @@ func (cli *DockerCli) Initialize(opts *cliflags.ClientOptions) error { if versions.LessThan(ping.APIVersion, cli.client.ClientVersion()) { cli.client.UpdateClientVersion(ping.APIVersion) } + } else { + // Default to true if we fail to connect to daemon + cli.server = ServerInfo{HasExperimental: true} } return nil