2025-01-14 23:38:19 UTC
2.6 GB
2d9f5555d820c1b6a3f3177f0a73a4f9e9b3a7f1275d2aa3122a2ecc3a1b31a2
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.19-signed.msi
MONGO_VERSION6.0.19
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 52.42% (1.36 GB)
[#001] sha256:440cf16a6c1eb5c6c232aa5e54099878e9ddb01fb83b65139ec4e2618d1e00de - 28.69% (763 MB)
[#002] sha256:47c5bcb8e5abc163bcb6c5ea67d4ec02279969779d538d79a774b44473b0298a - 0.0% (1.26 KB)
[#003] sha256:936ab1385c4b1477032511a6afcceebd7c3b2ca423ff529f0270a65f88f5bcf3 - 0.0% (1.25 KB)
[#004] sha256:cf008e7ee228745deca03d4909c5762e2bd99c643c1af892b48318f35da77319 - 0.0% (1.25 KB)
[#005] sha256:f177ce968f6e7855a5076adb8359dbe8dbf10f4973f6a6b92cf1d2548a88b8c0 - 0.0% (1.25 KB)
[#006] sha256:ef50aea2dbd7bee4d554127f4e611b5305ded53dbe69984bf786d5491a0e4b94 - 18.88% (502 MB)
[#007] sha256:9323867771d2375e7cff011bbf7823bdea25b207631e8c11abdc2277ef6f2fa5 - 0.0% (1.25 KB)
[#008] sha256:c528395fa8adc68e9836939bf6c2bff3e8f5f914ace13ae8138d81db47177e2a - 0.0% (1.25 KB)
[#009] sha256:c053b41ed3e64ca31f693d645ccefa0f943afcb0e436ec68f2e4f2c880a3bffd - 0.0% (1.25 KB)
Apply image 10.0.20348.2700
2025-01-12 10:10:43 UTCInstall update 10.0.20348.3091
2025-01-14 23:37:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-01-14 23:37:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.19
2025-01-14 23:37:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.19-signed.msi
2025-01-14 23:37:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=2d9f5555d820c1b6a3f3177f0a73a4f9e9b3a7f1275d2aa3122a2ecc3a1b31a2
2025-01-14 23:38:11 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-01-14 23:38:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-01-14 23:38:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-01-14 23:38:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2025-01-14 23:40:26 UTC
2.47 GB
2d9f5555d820c1b6a3f3177f0a73a4f9e9b3a7f1275d2aa3122a2ecc3a1b31a2
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.19-signed.msi
MONGO_VERSION6.0.19
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 64.94% (1.6 GB)
[#001] sha256:09e6adf68d473b439b895dbef289349826f793d13a35d136c1e4a98b09d23cd4 - 15.17% (383 MB)
[#002] sha256:e9be94f029167381344fd6e2aa7c6031ea427bb0f0be44bd35e5e74c6e051fd1 - 0.0% (1.3 KB)
[#003] sha256:7a076fe47f57bae71da5b3d46296337e2052314c1cfe2d7f4ac7fd45d1e35d08 - 0.0% (1.27 KB)
[#004] sha256:dd270d739d0fa179f7b79e460b4887c0e6aba5dc0a95c9df70574159660d8cd7 - 0.0% (1.26 KB)
[#005] sha256:84cb4c02a02f76cd058f63e066e01fd223bfa4db863ab6b5709cba628dafb016 - 0.0% (1.27 KB)
[#006] sha256:f4b1bfe03d0e543b18962c5b252a99475c599cbc27a57c45d41aac070dda4261 - 19.88% (502 MB)
[#007] sha256:72202b3ba33384ab641a90e4a3088773ba280f42a89b44082d2250c73f6b201b - 0.0% (1.27 KB)
[#008] sha256:01d65b7a299e16a787aeb00aa05e80fe7fea969a465129454e949d17fccdc390 - 0.0% (1.27 KB)
[#009] sha256:43f2052b08c8427ad02b8a771c92e280b4803cbcd6c84fbe95c7e639c31188ad - 0.0% (1.27 KB)
Apply image 10.0.17763.6293
2025-01-09 09:46:25 UTCInstall update 10.0.17763.6775
2025-01-14 23:38:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-01-14 23:38:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.19
2025-01-14 23:38:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.19-signed.msi
2025-01-14 23:38:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=2d9f5555d820c1b6a3f3177f0a73a4f9e9b3a7f1275d2aa3122a2ecc3a1b31a2
2025-01-14 23:40:24 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-01-14 23:40:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-01-14 23:40:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-01-14 23:40:26 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.