Skip to content

Commit 75d3c9f

Browse files
authored
add docker cli as a requirement during check (#454)
Docker does not officially provide LTS versions, picked 18.0.0 as a baseline because it seems like a reasonable timeframe(2018), appears they are already out of support cycle. I think we should encourage but not enforce using newer versions that receives security updates.
1 parent a7afa04 commit 75d3c9f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cmd/check.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ var checkCmd = &cobra.Command{
119119
minVersion: "1.15.2",
120120
docsURL: "https://kubernetes.io/docs/tasks/tools/install-kubectl/",
121121
},
122+
{
123+
name: "Docker\t\t",
124+
command: "docker",
125+
args: []string{"--version"},
126+
regexStr: `Docker version (0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*), build ([a-f0-9]{7})`,
127+
minVersion: "18.0.0",
128+
docsURL: "https://docs.docker.com/get-docker/",
129+
},
122130
{
123131
name: "Terraform\t",
124132
command: "terraform",

0 commit comments

Comments
 (0)