Skip to content

Commit fc837fb

Browse files
committed
default docker engine version 1.32 for the global --crt-api-version flag
Signed-off-by: Kyle Quest <[email protected]>
1 parent 7ccdc44 commit fc837fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/app/master/command/cliflags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ func GlobalFlags() []cli.Flag {
378378
},
379379
&cli.StringFlag{
380380
Name: FlagAPIVersion,
381-
Value: "1.25", // We need at least 1.25 for to support builds from Dockerfile.
381+
Value: "1.32", // We need at least 1.32 for to support builds from Dockerfile.
382382
Usage: FlagAPIVersionUsage,
383383
EnvVars: []string{"DSLIM_CRT_API_VER"},
384384
},

pkg/app/master/command/cliprompt.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ var GlobalFlagSuggestions = []prompt.Suggest{
365365
{Text: FullFlagName(FlagTLSCertPath), Description: FlagTLSCertPathUsage},
366366
{Text: FullFlagName(FlagHost), Description: FlagHostUsage},
367367
{Text: FullFlagName(FlagCRTConnection), Description: FlagCRTConnectionUsage},
368+
{Text: FullFlagName(FlagAPIVersion), Description: FlagAPIVersionUsage},
368369
{Text: FullFlagName(FlagArchiveState), Description: FlagArchiveStateUsage},
369370
{Text: FullFlagName(FlagInContainer), Description: FlagInContainerUsage},
370371
{Text: FullFlagName(FlagCheckVersion), Description: FlagCheckVersionUsage},

0 commit comments

Comments
 (0)