2024-04-15 17:59:28 UTC
2.44 GB
5c83d9884b0a55923aae028561719a246ef92329f5cb72a11166ee2d719a6faa
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.9-rc0-signed.msi
MONGO_VERSION7.0.9-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 53.0% (1.29 GB)
[#001] sha256:197484daab96ebaf9683bc9230fb0043a8780d2afef249baa386f372a548b76a - 23.31% (582 MB)
[#002] sha256:18907caf93f542740f02f27ba3b8fabae72b39882a4b2964e5b65b3c9079bfa8 - 0.0% (1.27 KB)
[#003] sha256:fffe103af71a5647c545558b64f979530042342643f7f3e5d9976ce6d0948940 - 0.0% (1.27 KB)
[#004] sha256:b494f42639091b6397f34f74c58848ec57545088bf8ab6a7eff3d6c507a6fc21 - 0.0% (1.29 KB)
[#005] sha256:707caa7b2d0ca3e3f6b3562f24992e5a8b5c3c95a86b07aacfe39f8e0acc0aea - 0.0% (1.26 KB)
[#006] sha256:8ee2885eb3c8229a37b8fa950fe18508447e414eac321ce248080f0da4eeb3f4 - 23.68% (592 MB)
[#007] sha256:014afe866af738d1dfc35bc0c351b6f0df695184ae075b016dc12ca163418e85 - 0.0% (1.27 KB)
[#008] sha256:9c348b7ddeecc65f83530ea3a80a01194e5baf5809a9b3b2a972d37e7553e2cd - 0.0% (1.26 KB)
[#009] sha256:3438b1e2658ee02a7bb01492ca7134dfe4df590a5757e0d41d3903fc5e37a1f2 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-04-05 09:25:01 UTCInstall update 10.0.20348.2402
2024-04-15 17:57:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-04-15 17:57:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.9-rc0
2024-04-15 17:57:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.9-rc0-signed.msi
2024-04-15 17:57:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5c83d9884b0a55923aae028561719a246ef92329f5cb72a11166ee2d719a6faa
2024-04-15 17:59:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2024-04-15 17:59:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-04-15 17:59:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-04-15 17:59:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
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.