2022-09-23 00:21:05 UTC
2.75 GB
b29301e3f0858b1456b95f060b1dc38ea699b4facc064b1c905a4f2cb5927e18
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.17-rc2-signed.msi
MONGO_VERSION4.4.17-rc2
[#000] sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93 - 63.66% (1.75 GB)
[#001] sha256:cee64bf279e2ca8e924884a10ecb98bfa79c7f0cc8d25e73039b9aeb940815b6 - 28.03% (788 MB)
[#002] sha256:3c428406510f0a47ed60f28060a7d625d42344a95fdcb7c4f5746fb8857c3328 - 0.0% (1.38 KB)
[#003] sha256:f550c2b3c438ade3acd13ff6ec56d38be4c9d3f274676b0b028d82b1cc266e9b - 0.0% (1.35 KB)
[#004] sha256:cbbd680456acb7bdef0c3868ca80ac1abf30e5529cd73806f01e476c9a6861d6 - 0.0% (1.41 KB)
[#005] sha256:f93dfdeaa1067575936a3a0a6eb6a62c8c8c9b1e8f472aed1b3f76f0889af70d - 0.0% (1.38 KB)
[#006] sha256:0ff55efe574b799715631cd8a4901cdb7f66d6fb59530233578aadc8158b6d10 - 8.32% (234 MB)
[#007] sha256:adaf5ddc88a4775e3089e0cf94e363552ae7776f7db51c64780f56c398e60304 - 0.0% (1.39 KB)
[#008] sha256:28e5e593ccc528c9b814f62f01bb27cd9a62d83b3fc3d2dda05d54c934d4eb19 - 0.0% (1.35 KB)
[#009] sha256:f0b1be35b0f25c4040a8e8f1dd80b4b8b50e1d1cc83f9a95516e43c1efe1fdd9 - 0.0% (1.39 KB)
Apply image 10.0.17763.2803
2022-09-09 22:43:02 UTCInstall update 10.0.17763.3406
2022-09-14 13:39:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-09-23 00:18:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.17-rc2
2022-09-23 00:18:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.17-rc2-signed.msi
2022-09-23 00:18:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b29301e3f0858b1456b95f060b1dc38ea699b4facc064b1c905a4f2cb5927e18
2022-09-23 00:21:01 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-09-23 00:21:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-09-23 00:21:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-09-23 00:21:05 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.