2023-01-12 05:39:01 UTC
1.31 GB
https://download.docker.com/win/static/test/x86_64/docker-23.0.0-rc.1.zip
DOCKER_VERSION23.0.0-rc.1
[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 98.71% (1.29 GB)
[#001] sha256:fa41f3a43cc9e40e953b9cfe1530c27eed49cf79cdae96e9dfc39b04a1b75ecf - 0.0% (1.39 KB)
[#002] sha256:caf9fbb5bb66b4765df4292381a96e1cfc78d67a08a48a930d66d57438abacd1 - 0.04% (598 KB)
[#003] sha256:5bf8e73c22877d94ef0f7784a8e5dcbd45cf84bba67855dd937d4ea97ceb2e16 - 0.0% (1.38 KB)
[#004] sha256:59ad7abed5a28fc923cbfa15f17f3baf74a2660761e6e32c43bf1dd688cd042b - 0.0% (1.39 KB)
[#005] sha256:83a96414f6f659d9f046f6997e65c457e6a1494762a83d2cf27ad2a0555e9b10 - 1.25% (16.7 MB)
Apply image 10.0.20348.1487
2023-01-12 01:40:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2023-01-12 05:38:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('{0}\docker;{1}' -f $env:ProgramFiles, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
2023-01-12 05:38:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV DOCKER_VERSION=23.0.0-rc.1
2023-01-12 05:38:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV DOCKER_URL=https://download.docker.com/win/static/test/x86_64/docker-23.0.0-rc.1.zip
2023-01-12 05:39:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:DOCKER_URL); Invoke-WebRequest -Uri $env:DOCKER_URL -OutFile 'docker.zip'; Write-Host 'Expanding ...'; Expand-Archive docker.zip -DestinationPath $env:ProgramFiles; Write-Host 'Removing ...'; Remove-Item @( 'docker.zip', ('{0}\docker\dockerd.exe' -f $env:ProgramFiles) ) -Force; Write-Host 'Verifying install ("docker --version") ...'; docker --version; Write-Host 'Complete.';
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.