2022-11-10 21:21:11 UTC
2.82 GB
49a79a03cbd12fd5a758a6e57e3122b2e21e6c6822a15d7cb2da543920d38e39
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.18-rc0-signed.msi
MONGO_VERSION4.4.18-rc0
[#000] sha256:a48a3e4ae2de839d8e99bde16eb91d113fb2cf889bba472d0c4274851b5fb402 - 63.63% (1.79 GB)
[#001] sha256:c26cc6e4f9eb1ae415a5ead6f884cac597bbd57efa6cd042c878d5b54c9d2091 - 28.25% (815 MB)
[#002] sha256:99941fb33972e616b231a8aadd93463fdfd5de6aece4aa6c470d2feec31839be - 0.0% (1.3 KB)
[#003] sha256:c0f35dfc75e8b68f2118c1029b00f15809c2eba0acd51bcb4f082938283ed4e5 - 0.0% (1.36 KB)
[#004] sha256:1f96a08baaba757155c37ff6e3930e2e5f089c7687960eab6541f5724a4b3afb - 0.0% (1.39 KB)
[#005] sha256:430e1f2b3844d8e5ced29e00adc64891eb299931daf88b47f7e240b4fe696b71 - 0.0% (1.36 KB)
[#006] sha256:dbc90628322c78013388597caa02e1b740e7883617da215434051457011a2c58 - 8.12% (234 MB)
[#007] sha256:08db43de67be7d6ac11515baa47df6a7772192fec477d57661d541b313ae4101 - 0.0% (1.39 KB)
[#008] sha256:c9c5a8a06c1b23e73535714f3aa411e535d6455209cbf93535c25177f2b035c4 - 0.0% (1.39 KB)
[#009] sha256:2e9cbb53da81fc61d2e05d73d730bfcbfe31f0ef76c42ff14d30045ed7f61ae1 - 0.0% (1.39 KB)
Apply image 10.0.17763.2803
2022-11-05 18:29:26 UTCInstall update 10.0.17763.3650
2022-11-09 14:50:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-11-10 21:18:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.18-rc0
2022-11-10 21:18:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.18-rc0-signed.msi
2022-11-10 21:18:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=49a79a03cbd12fd5a758a6e57e3122b2e21e6c6822a15d7cb2da543920d38e39
2022-11-10 21:21:07 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.';
2022-11-10 21:21:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-11-10 21:21:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-11-10 21:21:11 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.