2025-06-10 21:28:49 UTC
3.81 GB
35baeddf28f20f63a50d6a65bdb19492afdea42005bfb8621a8ec433ec9c748b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.21-signed.msi
MONGO_VERSION7.0.21
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 54.14% (2.06 GB)
[#001] sha256:e8b61d8f1bb5129502a06cea04657715aa68d500a1dc0ddcf37003afcd263c28 - 30.81% (1.17 GB)
[#002] sha256:6e4d00092b49490fa468b55787ad8cc5dca32f15cbab67f17df02b8bd9eb2d70 - 0.0% (1.27 KB)
[#003] sha256:40557469a90ad8c5a33b378abfe14468c4a0db9feb15761a5f9464d630039322 - 0.0% (1.27 KB)
[#004] sha256:b78663a156352c977c9ece0c5ef461ffbbacd7c5f9be47d9f5e2f04a1e6d66d6 - 0.0% (1.26 KB)
[#005] sha256:3c6d813d117fb9d9bbe6a1086c1ecef4c282ab545a53f7e1ba5e247f60dcbd72 - 0.0% (1.26 KB)
[#006] sha256:49d2a61ca9d4a1d7b30a0a8cf25d96ed7f916388225fd3d6ac421e25ab856577 - 15.05% (587 MB)
[#007] sha256:5a291e2fc7c37069e368b3884b12c79abadca91379853bd444b14c33c5a77c46 - 0.0% (1.26 KB)
[#008] sha256:fd7554b52615f14852df38a0b3b95e986410b0206731637114aee0b48ccf416c - 0.0% (1.29 KB)
[#009] sha256:9c777e92b8750160849bae17ccc692cca0ec01507a0e665a2db3b41599ea63fe - 0.0% (1.27 KB)
Apply image 10.0.26100.2605
2025-06-07 15:42:01 UTCInstall update 10.0.26100.4349
2025-06-10 21:27:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-06-10 21:27:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.21
2025-06-10 21:27:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.21-signed.msi
2025-06-10 21:27:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=35baeddf28f20f63a50d6a65bdb19492afdea42005bfb8621a8ec433ec9c748b
2025-06-10 21:28:47 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-06-10 21:28:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-06-10 21:28:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-06-10 21:28:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2025-06-10 21:27:46 UTC
2.7 GB
35baeddf28f20f63a50d6a65bdb19492afdea42005bfb8621a8ec433ec9c748b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.21-signed.msi
MONGO_VERSION7.0.21
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 50.49% (1.36 GB)
[#001] sha256:db5652627be066fd088860f3ebfcc61d4cb76922ffa16c5496b4158c7e4e7151 - 28.25% (780 MB)
[#002] sha256:640d196a0151e1694d53e85ae1b0609fc6df0e7ad543c9a3f5b429e07b8c82b4 - 0.0% (1.25 KB)
[#003] sha256:d0308608c557833b96af58e2202a6aa611d101c3ef6f6fdc1672d6e0aed17a56 - 0.0% (1.26 KB)
[#004] sha256:abc604662813a37fc7072fafa123d1ab386e6b00147a2b67cd38bb6c23af0184 - 0.0% (1.25 KB)
[#005] sha256:eb311bb9c120244c7549b7ae7a50a20a1da564266f4055b95bea6b9bc0998ff0 - 0.0% (1.25 KB)
[#006] sha256:0a115a7208408632c06daff9979e96a80f77d60fa30d0bb2d2950de52e59b379 - 21.27% (587 MB)
[#007] sha256:7fd4176fca05861b95896ed0c5ce3cbceed3270db27795cdd80374dbeb07a760 - 0.0% (1.25 KB)
[#008] sha256:2e410775a2006158355db31dbd3a65a8b5434dd6ebdfe4fb292fe04bd2afbae6 - 0.0% (1.25 KB)
[#009] sha256:26780af1b5aafbd57fa639d31add74f5c80f34ea3bbc7027ae94b5dfa230624c - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2025-06-05 01:01:39 UTCInstall update 10.0.20348.3807
2025-06-10 21:26:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-06-10 21:26:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.21
2025-06-10 21:26:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.21-signed.msi
2025-06-10 21:26:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=35baeddf28f20f63a50d6a65bdb19492afdea42005bfb8621a8ec433ec9c748b
2025-06-10 21:27:43 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-06-10 21:27:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-06-10 21:27:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-06-10 21:27:46 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.