2023-12-21 20:56:23 UTC
2.33 GB
7c988b5af02bcf210c4e2f92a17aea9e4e11be51782b76b868070b42c67a442a
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.5-rc0-signed.msi
MONGO_VERSION7.0.5-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 55.49% (1.29 GB)
[#001] sha256:7839fc47f6e056f9e09a214230f8b7115e69419dbc74acbbb1ad6bc0caa28862 - 20.01% (477 MB)
[#002] sha256:dde1fcd7050bcf6c469a2c35d2f24ffa1defc84bead0b525d62a82ad51cdd367 - 0.0% (1.25 KB)
[#003] sha256:32e5a9bfd96088b8041c5a4d1c5c9f55931b56ac4a36e3f6d815b5d8b5a29b99 - 0.0% (1.25 KB)
[#004] sha256:014e8be44ccefbad51654da31cbf4cfb8f2a67245cfa96906954c95dc531ebcd - 0.0% (1.26 KB)
[#005] sha256:04bfe2129f1849a4934b458ab94d25d559d25dd837f1e5fb965da1d643957454 - 0.0% (1.26 KB)
[#006] sha256:bc018f1b5c2ea63a8551e405a6034aeaac37c20482d247695685ee2122dcb944 - 24.5% (585 MB)
[#007] sha256:cc9ad748f7feafa82b3c2ef9b84faa74a353293eac018cbc7372f51cd6d9930b - 0.0% (1.26 KB)
[#008] sha256:8136760ed02938bfb3763e327528eb90a079806586af0e815e8943be7a2779a2 - 0.0% (1.26 KB)
[#009] sha256:0e4595a9e833e02fdcdf602f2a52f70cb252d493d6b42a80db91b64ce19dedb4 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2023-12-02 12:42:56 UTCInstall update 10.0.20348.2159
2023-12-21 20:53:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-12-21 20:53:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.5-rc0
2023-12-21 20:53:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.5-rc0-signed.msi
2023-12-21 20:53:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7c988b5af02bcf210c4e2f92a17aea9e4e11be51782b76b868070b42c67a442a
2023-12-21 20:56:20 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.';
2023-12-21 20:56:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-12-21 20:56:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-12-21 20:56:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2023-12-21 20:56:40 UTC
2.49 GB
7c988b5af02bcf210c4e2f92a17aea9e4e11be51782b76b868070b42c67a442a
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.5-rc0-signed.msi
MONGO_VERSION7.0.5-rc0
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 61.76% (1.54 GB)
[#001] sha256:e35ae5ad761bfd7e5fb48c234de8722eaa28e17e2c956816fecb417ab6259c29 - 15.31% (390 MB)
[#002] sha256:fda0fdf28cd38deb5bb26d8b197c034396ea09c7942aa62a59e1343945a3b8de - 0.0% (1.33 KB)
[#003] sha256:356da5762d583a58a3895c608673e8e749ea9c094698ddb3af240f4a4b5fbb00 - 0.0% (1.33 KB)
[#004] sha256:26f37aa713cbbe8366e4485cc3df51d444881c12fd1f65c18f1fc346e3cc864b - 0.0% (1.34 KB)
[#005] sha256:f2e69b13b9fad7f64f778e3c94d3eab482b72a1cb8a5e80f35ba6520958f427d - 0.0% (1.3 KB)
[#006] sha256:b722ca33dccb38d1fcb94a4777f1fc4fddc36e45f8da5bed11234e2468de5fcb - 22.94% (585 MB)
[#007] sha256:488b44fd1af5473849fe90d189ee6526c34f115250ce1f5ae0b8fe901eeb70f3 - 0.0% (1.29 KB)
[#008] sha256:4c5fb59922cb6fbbd68cfa35148a5e1561a68bc599749e0820c0841261f985c4 - 0.0% (1.34 KB)
[#009] sha256:c29027e3a77f56f63835bbb5d1415a1ffef7acf7e148b8d39f021e024a577ef2 - 0.0% (1.29 KB)
Apply image 10.0.17763.4499
2023-12-04 11:24:49 UTCInstall update 10.0.17763.5206
2023-12-21 20:53:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-12-21 20:53:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.5-rc0
2023-12-21 20:53:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.5-rc0-signed.msi
2023-12-21 20:53:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7c988b5af02bcf210c4e2f92a17aea9e4e11be51782b76b868070b42c67a442a
2023-12-21 20:56:38 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.';
2023-12-21 20:56:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-12-21 20:56:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-12-21 20:56:40 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.