2023-11-16 04:15:03 UTC
2.14 GB
e9158fe81fd49b1e0bb121c5505e674864587e78b72683d8b477b4326da8472a
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.25-signed.msi
MONGO_VERSION4.4.25
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 71.67% (1.54 GB)
[#001] sha256:4f7bb9e009deb881cb90e8b4318258e03882de9bc9b312b763654b59cd13d0bb - 17.66% (388 MB)
[#002] sha256:61e4111e1324ff2110def2382c3796071edd92a76a262efa6c0657d549b64496 - 0.0% (1.38 KB)
[#003] sha256:e6b188dc001be88eee85de9ff2a267e1250c9253605ef96a0dec940d70a0faa1 - 0.0% (1.38 KB)
[#004] sha256:1f960343093692149cf59cd851b0bdcb8e528ee5ca03128cdc45a40d08bdb0fc - 0.0% (1.38 KB)
[#005] sha256:ff8310353bd03833ef3643fbd2c8b156ab99ce989a7a40509d0f3997e1826cbf - 0.0% (1.37 KB)
[#006] sha256:9e4e20547895c6ff44b701209a5ab5aca95820099649d7849b9351489eb930e2 - 10.66% (234 MB)
[#007] sha256:3475d61487f7ddc2e861eae2fa6f14db834cfbd2c95671c50bb397b6d9077aaf - 0.0% (1.25 KB)
[#008] sha256:54886a0b8bde85c79a8cae0d164d235130159e9dfd7a00276ebdf7e573dc07e0 - 0.0% (1.29 KB)
[#009] sha256:46e0e546c3bc50186a7793173107e3dacc10f143d3264ca7a57ede04e70a7ca5 - 0.0% (1.26 KB)
Apply image 10.0.17763.4499
2023-11-09 17:56:40 UTCInstall update 10.0.17763.5122
2023-11-16 03:20:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-11-16 04:12:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.25
2023-11-16 04:12:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.25-signed.msi
2023-11-16 04:12:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=e9158fe81fd49b1e0bb121c5505e674864587e78b72683d8b477b4326da8472a
2023-11-16 04:14:59 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=Client,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 ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2023-11-16 04:15:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-11-16 04:15:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-11-16 04:15:03 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.