2023-05-10 02:12:57 UTC
2.16 GB
98fc7f0d7942752cdd4bf1eca9f58ed916df6c3cfc4b92fef45616fbc6e667fd
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.21-signed.msi
MONGO_VERSION4.4.21
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 73.67% (1.59 GB)
[#001] sha256:e01de39a0c44e24aa1912078d32ee54389b71154e509138cc4f5d1de42e7a32a - 15.71% (347 MB)
[#002] sha256:f2a89be60a77cd8d520ec5f03d703ddbc15675dd1df4d95e041032cf08960af5 - 0.0% (1.36 KB)
[#003] sha256:e02cd86d9ef5adf64f61095777b14cf298c252ff33fbeb2559bf8f6f1ee3ee01 - 0.0% (1.26 KB)
[#004] sha256:ec31f1725071b41590ca01464ebfe48f132f3f2fdf1c2ae1eb6ede0f44ba52a5 - 0.0% (1.26 KB)
[#005] sha256:64ed3c7fb88f1fb929578a13b72df40fe4e30e6761e50e518a684dffa449db4c - 0.0% (1.26 KB)
[#006] sha256:bda8d1b4fc99fb1ae73d3f2d8149e3a81793e4b1cbe4b0c0bd1ab5943d6e4e7b - 10.62% (235 MB)
[#007] sha256:59ccd956ab826581cf55637ea6045f9e8055c03d10c7add4c66d24dab9fc0857 - 0.0% (1.29 KB)
[#008] sha256:be2ea76d67a0154ccbb1a752a32174ebf14065add440d699406ea8cb085a4fc0 - 0.0% (1.27 KB)
[#009] sha256:f97e71228e07ba4ed098a0f0cef4e5a1da5031507c8516c949bc25b55d10dfaa - 0.0% (1.26 KB)
Apply image 10.0.17763.3887
2023-05-05 12:05:28 UTCInstall update 10.0.17763.4377
2023-05-10 01:56:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-05-10 02:10:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.21
2023-05-10 02:10:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.21-signed.msi
2023-05-10 02:10:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=98fc7f0d7942752cdd4bf1eca9f58ed916df6c3cfc4b92fef45616fbc6e667fd
2023-05-10 02:12:54 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-05-10 02:12:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-05-10 02:12:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-05-10 02:12:57 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.