2023-03-16 03:27:00 UTC
2.1 GB
91e83f2fc3ddd3ab0bb170d26b89d80e4268a563deee6ce72313de5774875f08
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.19-signed.msi
MONGO_VERSION4.4.19
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 75.6% (1.59 GB)
[#001] sha256:a92048040b3b13af10f8287baabaddbb2759dfc77b1fb43f89b38b3275467f93 - 13.53% (291 MB)
[#002] sha256:474eedda733dad347e4baad9fb9f3d700b58e5788f7453d1979cebb167746b32 - 0.0% (1.39 KB)
[#003] sha256:3a0ec4061b0233774b66ac454c8c3a95b92397fce2f30ca99c0ae66a3a732316 - 0.0% (1.26 KB)
[#004] sha256:f1dd616f3f7380a0102f56c9a9b0ba96db2f3971b0aeec4ac36099e9027b8290 - 0.0% (1.25 KB)
[#005] sha256:21f1fbdac107344f71e7967d46be89ab9c7e99b1411c70860882a8bf17d6305b - 0.0% (1.3 KB)
[#006] sha256:92594256eafa061db7596d64d486b4c8689f1a933898c99249c38eb016d773c1 - 10.88% (234 MB)
[#007] sha256:e27cd393250f85011eddbccfef6668966b6c7fb65d01ba7fb570485a55b9f44f - 0.0% (1.37 KB)
[#008] sha256:fe956361f3bb88dd668242ddfeab560ec4c56e2072893f48132cf36226fa9f50 - 0.0% (1.38 KB)
[#009] sha256:4a1149d0b10bd68f717d1f345d18ee43c22198e2f562a5a8dd394652e5714aae - 0.0% (1.38 KB)
Apply image 10.0.17763.3887
2023-03-11 10:37:22 UTCInstall update 10.0.17763.4131
2023-03-16 02:59:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-03-16 03:23:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.19
2023-03-16 03:23:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.19-signed.msi
2023-03-16 03:23:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=91e83f2fc3ddd3ab0bb170d26b89d80e4268a563deee6ce72313de5774875f08
2023-03-16 03:26:56 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-03-16 03:26:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-03-16 03:26:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-03-16 03:27:00 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.