Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Docker Engine to Version 28.* #11897

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions images/ubuntu/scripts/tests/Docker.Tests.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Describe "Docker" {
It "docker is installed" {
"docker --version" | Should -ReturnZeroExitCode
}

It "docker service is up" {
"docker images" | Should -ReturnZeroExitCode
}

It "docker symlink" {
"C:\Windows\SysWOW64\docker.exe ps" | Should -ReturnZeroExitCode
}

It "docker version 28.* is installed" {
$dockerVersion = (docker --version).Split(" ")[2]
$dockerVersion | Should -Match "^28\."
}
}

Describe "DockerCompose" {
It "docker compose v2" {
"docker compose version" | Should -ReturnZeroExitCode
}

}

Describe "DockerWinCred" {
It "docker-wincred" {
"docker-credential-wincred version" | Should -ReturnZeroExitCode
}
}

Describe "DockerImages" -Skip:(Test-IsWin25) {
Context "docker images" {
$testCases = (Get-ToolsetContent).docker.images | ForEach-Object { @{ ImageName = $_ } }

It "<ImageName>" -TestCases $testCases {
docker images "$ImageName" --format "{{.Repository}}" | Should -Not -BeNullOrEmpty
}
}
}
6 changes: 3 additions & 3 deletions images/ubuntu/toolsets/toolset-2004.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@
},
{
"package": "docker-ce-cli",
"version": "26.1.3"
"version": "28.*"
},
{
"package": "docker-ce",
"version": "26.1.3"
"version": "28.*"
}
],
"plugins": [
Expand All @@ -252,7 +252,7 @@
},
{
"plugin": "compose",
"version": "2.27.1",
"version": "2.28.0",
"asset": "linux-x86_64"
}
]
Expand Down
6 changes: 3 additions & 3 deletions images/ubuntu/toolsets/toolset-2204.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@
},
{
"package": "docker-ce-cli",
"version": "26.1.3"
"version": "28.*"
},
{
"package": "docker-ce",
"version": "26.1.3"
"version": "28.*"
}
],
"plugins": [
Expand All @@ -251,7 +251,7 @@
},
{
"plugin": "compose",
"version": "2.27.1",
"version": "2.28.0",
"asset": "linux-x86_64"
}
]
Expand Down
6 changes: 3 additions & 3 deletions images/ubuntu/toolsets/toolset-2404.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@
},
{
"package": "docker-ce-cli",
"version": "26.1.3"
"version": "28.*"
},
{
"package": "docker-ce",
"version": "26.1.3"
"version": "28.*"
}
],
"plugins": [
Expand All @@ -210,7 +210,7 @@
},
{
"plugin": "compose",
"version": "2.27.1",
"version": "2.28.0",
"asset": "linux-x86_64"
}
]
Expand Down