2025-12-29 20:19:33 UTC
1.88 GB
c635b5ab758e4d37a248295009f6f12948125dcaec7303be276f2cce31170e46
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.30-signed.msi
MONGO_VERSION4.4.30
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 73.85% (1.39 GB)
[#001] sha256:1fc19ec18c41e4c8edf1a76eecae2be22e29445f11ee586523f59e36de40aebb - 14.43% (277 MB)
[#002] sha256:1148c93b4b4568c88e653a7984aeaf268c26e5d42072dd765fa356432e7d711c - 0.0% (1.28 KB)
[#003] sha256:5c68b83dad974fff18ea5c87495356c6534cf6c507ec0864efd85936b187e8d8 - 0.0% (1.28 KB)
[#004] sha256:97694bb2b6e93dfb0cf7ea71a8a8d55eecc2faaa4e4648cfcf627c4b23c928c0 - 0.0% (1.26 KB)
[#005] sha256:19f0d1c140119e51af8a8601726e096b347200181e96206df55a79d83b70f3d6 - 0.0% (1.26 KB)
[#006] sha256:b69a6b8ed158359462609739c8aa1e40cba2acfdd64b8966bd86ebd4bc10ad48 - 11.73% (225 MB)
[#007] sha256:262ab1d5b88a661af04b23b1dfc91a74275746806fe1afab739c523bd01bfebf - 0.0% (1.29 KB)
[#008] sha256:b84dae0186465723ca7c399757235432d86b748a775b8d72ab0c7322e37d80bf - 0.0% (1.29 KB)
[#009] sha256:b9d7361b27bcccfe639294a253b3100bff137d4ddfa0b4658492e475d2b205e2 - 0.0% (1.28 KB)
Apply image 10.0.20348.4294
2025-12-05 18:19:35 UTCInstall update 10.0.20348.4529
2025-12-29 20:16:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-12-29 20:16:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.30
2025-12-29 20:16:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.30-signed.msi
2025-12-29 20:16:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=c635b5ab758e4d37a248295009f6f12948125dcaec7303be276f2cce31170e46
2025-12-29 20:19:28 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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2025-12-29 20:19:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-12-29 20:19:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-12-29 20:19:33 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.