mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 20:56:47 +00:00
Add docker moby server version (#2657)
This commit is contained in:
@@ -96,7 +96,8 @@ $toolsList = @(
|
||||
(Get-CoreUtilsVersion),
|
||||
(Get-CMakeVersion),
|
||||
(Get-CurlVersion),
|
||||
(Get-DockerMobyVersion),
|
||||
(Get-DockerMobyClientVersion),
|
||||
(Get-DockerMobyServerVersion),
|
||||
(Get-DockerComposeVersion),
|
||||
(Get-DockerBuildxVersion),
|
||||
(Get-GitVersion),
|
||||
|
||||
@@ -84,9 +84,14 @@ function Get-DockerComposeVersion {
|
||||
return "Docker Compose $composeVersion"
|
||||
}
|
||||
|
||||
function Get-DockerMobyVersion {
|
||||
$dockerVersion = docker -v | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "+"
|
||||
return "Docker-Moby $dockerVersion"
|
||||
function Get-DockerMobyClientVersion {
|
||||
$dockerClientVersion = sudo docker version --format '{{.Client.Version}}'
|
||||
return "Docker-Moby Client $dockerClientVersion"
|
||||
}
|
||||
|
||||
function Get-DockerMobyServerVersion {
|
||||
$dockerServerVersion = sudo docker version --format '{{.Server.Version}}'
|
||||
return "Docker-Moby Server $dockerServerVersion"
|
||||
}
|
||||
|
||||
function Get-DockerBuildxVersion {
|
||||
|
||||
Reference in New Issue
Block a user