sha256:3dfee0115022b40926d5c7971046a1071e67b952f9b97e4421d1e55d14926c4b
2024-05-15 21:54:49 UTC
2.54 GB
16be51285ed6042c39a8692b5cfed3413f53b37111f54861a72857af6e5cfa90
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.9-signed.msi
MONGO_VERSION7.0.9
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 50.85% (1.29 GB)
[#001] sha256:ba03114511317f14392dd2ac806678d1f79c73a8a7e0bc64013540e54c22020f - 26.51% (691 MB)
[#002] sha256:0bc181c61bb6197839d34e5e58f5efcb7632308a971973524da6bcf0b025ca2b - 0.0% (1.27 KB)
[#003] sha256:58a1a89a1f9048d8ca81b2eeb03d691b73e022f18d7e68b615215c91189914f4 - 0.0% (1.24 KB)
[#004] sha256:1a9bf4f59df7a12fe2f8c0e94da97c35c37dbcd375d63a7a91524ec376f1427e - 0.0% (1.26 KB)
[#005] sha256:23995cc19a04bedf877c9134991dac2e23518f07b3534b7abf1d3eef0c82c257 - 0.0% (1.24 KB)
[#006] sha256:29e86efc42e159c66bccbf6bc9cb2f317f5614769fdcc815f69cb174b255b682 - 22.64% (590 MB)
[#007] sha256:dcab4707953b50aee36c96f8a41a82d13b654010aaa96f46e1c3ef539de6ef27 - 0.0% (1.26 KB)
[#008] sha256:be0714ae8345915e9969e7901c905ecd4fc2164731820bcf6db13639a0224a42 - 0.0% (1.27 KB)
[#009] sha256:84520f94eafcc92344543dab13cfc52b8d29aaedce312c4077f3d643798caf3d - 0.0% (1.27 KB)
Apply image 10.0.20348.1787
2024-05-10 20:40:01 UTCInstall update 10.0.20348.2461
2024-05-15 21:53:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-05-15 21:53:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.9
2024-05-15 21:53:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.9-signed.msi
2024-05-15 21:53:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=16be51285ed6042c39a8692b5cfed3413f53b37111f54861a72857af6e5cfa90
2024-05-15 21:54: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.';
2024-05-15 21:54:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-05-15 21:54:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-05-15 21:54:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:40f9dc8d266e57eeb607c6edf38f169f4f48e7cc50380e33abe92bc762a736de
2024-05-15 21:56:06 UTC
2.61 GB
16be51285ed6042c39a8692b5cfed3413f53b37111f54861a72857af6e5cfa90
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.9-signed.msi
MONGO_VERSION7.0.9
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 58.99% (1.54 GB)
[#001] sha256:e00cc2568ad51f25eabe6bb19ba6248a040d7622594b0d09ee77dec571d7280a - 18.91% (505 MB)
[#002] sha256:94d8f9afa84193e930f3444e5add93f36fa3c12d246b540e5393e0e9f3915e4b - 0.0% (1.26 KB)
[#003] sha256:3b1f1d44f0b71c8acc5d6b1398969210997aacf83c5096f817539fd2be065f07 - 0.0% (1.26 KB)
[#004] sha256:f3eabc434f8313653b5add2b6f2ccb4dee59d0a3b9905be72e09d5626eb53515 - 0.0% (1.26 KB)
[#005] sha256:f351faec7c0c3a251b94ea10f51d05418773970a9002c0a6b199d679eeeadef5 - 0.0% (1.26 KB)
[#006] sha256:b470877dd6ceff264eeb2b5f951379d5ab018f56849dff349b5451f6c21c7d4f - 22.1% (590 MB)
[#007] sha256:97f1861f34c0139c9bfa1ac4aa34264ec447f04b4e475c0df731a9914ad2a922 - 0.0% (1.27 KB)
[#008] sha256:7a463a30201b80b5f8dd5923ad653bff7ade4300e2525432f896dbe7fcf4eea6 - 0.0% (1.25 KB)
[#009] sha256:01998f1138325e1ededdc12cb259706015c75b79af77bb422283161ab83eeb38 - 0.0% (1.26 KB)
Apply image 10.0.17763.4499
2024-05-10 20:46:44 UTCInstall update 10.0.17763.5820
2024-05-15 21:52:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-05-15 21:52:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.9
2024-05-15 21:52:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.9-signed.msi
2024-05-15 21:52:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=16be51285ed6042c39a8692b5cfed3413f53b37111f54861a72857af6e5cfa90
2024-05-15 21:56:03 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.';
2024-05-15 21:56:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-05-15 21:56:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-05-15 21:56:06 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.