2023-04-05 21:17:53 UTC
1.83 GB
8ea554e1939aee605fe7b03e780be96eb51ffde51a928fef485864104a858d2f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.20-rc0-signed.msi
MONGO_VERSION4.4.20-rc0
[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 70.71% (1.29 GB)
[#001] sha256:c921d7eac594f5e3ce3ef10adb8fd0f71bdbb713c4854336b995d25f89c44d42 - 16.73% (313 MB)
[#002] sha256:9d31bb6c06d038a3e1a69943be5f72e0ad656773c3f446d934ff816b71b0d631 - 0.0% (1.37 KB)
[#003] sha256:ce62620377ae8e09d8b7a26555579d37b7b4f319ff78e8a08c85d60b38cb46f2 - 0.0% (1.39 KB)
[#004] sha256:06976f633cd9b0667b58e3616466ce3060f803f33ab36b31c20ce46527504cd8 - 0.0% (1.4 KB)
[#005] sha256:b7d1d6b9b8313e6dd169a8834c9e48cff1998d6b6dbe08a535b1e3f87c8dd745 - 0.0% (1.41 KB)
[#006] sha256:84584709659f829746cbb50f5bcd13d24a127734857dfa2fb80f512d3a17fae2 - 12.56% (235 MB)
[#007] sha256:647b6de17138f6d20ab2af0199d0e891392e7f1ad4e674c629f54a4069d384a7 - 0.0% (1.39 KB)
[#008] sha256:e752cc4601abbe5e7be52a0c6b6e2de796bd0a82fd4c5318e56741e6d87b706b - 0.0% (1.41 KB)
[#009] sha256:720905ce6ab649e45d80092afcbb01c1bb67bf27c6fff76e1cf3b76ad6e90648 - 0.0% (1.38 KB)
Apply image 10.0.20348.1487
2023-03-10 06:37:36 UTCInstall update 10.0.20348.1607
2023-03-16 02:55:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-04-05 21:16:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.20-rc0
2023-04-05 21:16:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.20-rc0-signed.msi
2023-04-05 21:16:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=8ea554e1939aee605fe7b03e780be96eb51ffde51a928fef485864104a858d2f
2023-04-05 21:17:49 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-05 21:17:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-04-05 21:17:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-04-05 21:17:53 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.