2024-07-10 17:11:07 UTC
2.29 GB
e8cf0bbb30839f4fdbff1dc5ff95ccd1a0e4a4029c1590b04bd070a805f464d3
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.28-rc0-signed.msi
MONGO_VERSION5.0.28-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 56.59% (1.29 GB)
[#001] sha256:5f0206d135152eb909f50159d6ca348a5aead199afacbafc000b770c1b0720f6 - 30.61% (716 MB)
[#002] sha256:2372732e558d2a0378619122640833df2a2df07169346c4b68f944e0967476bb - 0.0% (1.25 KB)
[#003] sha256:a363568c5a9935d95d58f8cdc05620ebfae891a12ab82b1137ce7e9d9df751bb - 0.0% (1.25 KB)
[#004] sha256:e0057129610f52db304468141b41f52ff6eb56683d9c19a5c94075dd93a0900e - 0.0% (1.26 KB)
[#005] sha256:92e12387cf5f6ef74d547a7488745a2200e94ce83e5235d2228ba2ed0ab1e260 - 0.0% (1.25 KB)
[#006] sha256:ca1d8f738cf595d123598026b65d99c2ab09f8bd5057aeb9e0672634f71f36a6 - 12.8% (299 MB)
[#007] sha256:6fe1f05cb9408f960837d0c3f37bb2cfec8c6cd20663fbb9a1fe8c022b30c988 - 0.0% (1.26 KB)
[#008] sha256:4c04f630b4adff6e62cadb25a0f1593c92895f145d9ae117b81bb6eef3fde043 - 0.0% (1.25 KB)
[#009] sha256:7a54d3dbd8f9f09a94b46d75b818b5baa1dacb3e21207706630f8cc678128600 - 0.0% (1.25 KB)
Apply image 10.0.20348.1787
2024-07-03 10:07:02 UTCInstall update 10.0.20348.2582
2024-07-10 17:09:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-07-10 17:09:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.28-rc0
2024-07-10 17:09:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.28-rc0-signed.msi
2024-07-10 17:09:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=e8cf0bbb30839f4fdbff1dc5ff95ccd1a0e4a4029c1590b04bd070a805f464d3
2024-07-10 17:11:01 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=Client,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 ' mongo --version'; mongo --version; 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-07-10 17:11:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-07-10 17:11:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-07-10 17:11:07 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.