2023-04-18 00:24:43 UTC
1.87 GB
8230a4d20add99153d6bc89d177435842521a052f786afe3c0a52cbab82a6704
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.21-rc0-signed.msi
MONGO_VERSION4.4.21-rc0
[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 68.99% (1.29 GB)
[#001] sha256:f4ecfa9c953d28a9da9d422b57cd0361c57c44e1faaaed7e50a2537d1c29cee1 - 18.74% (359 MB)
[#002] sha256:6a3664aee9b0b3199a388e1a7d17e99ada617d122d6a2572b0c40140fdea31a3 - 0.0% (1.39 KB)
[#003] sha256:ea1705585ed76368c4736be3fdd8b343ca9500a6efdeb8149a184e09a0af03ba - 0.0% (1.36 KB)
[#004] sha256:c7d7ef3eb25d8679e161a1c3222768986d0b4ffe424344f28a1b58743d2902da - 0.0% (1.38 KB)
[#005] sha256:671c10ba5648769f8738d39232bf4d91847af1dd68ede3fbabee6f2ef2194ca2 - 0.0% (1.4 KB)
[#006] sha256:9c95172a9e41ece26aca19980234eea1ca0e261445bf07e5e40d6058fc3ac19e - 12.26% (235 MB)
[#007] sha256:06af28320dc490b68c9d16ec9ea4c781da3241b4b305fb64e597a89909bc523d - 0.0% (1.36 KB)
[#008] sha256:598fa148634933488be8f7ecfcddf0d2a4c45f92c3d5e15889d48c873953fb11 - 0.0% (1.38 KB)
[#009] sha256:6addc9ea088424ccc2624d9f9ebb22e150bb764a6925f45b10ccf4d3c2abbb92 - 0.0% (1.36 KB)
Apply image 10.0.20348.1487
2023-04-05 00:38:27 UTCInstall update 10.0.20348.1668
2023-04-12 00:15:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-04-18 00:23:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.21-rc0
2023-04-18 00:23:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.21-rc0-signed.msi
2023-04-18 00:23:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=8230a4d20add99153d6bc89d177435842521a052f786afe3c0a52cbab82a6704
2023-04-18 00:24:40 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-04-18 00:24:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-04-18 00:24:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-04-18 00:24:43 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.