2025-03-12 18:55:13 UTC
3.43 GB
57a12dd49f6b16b12bc4a8afe8c707d8b642251fd8cfc44085dd0eeb29416004
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.6-rc1-signed.msi
MONGO_VERSION8.0.6-rc1
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 60.19% (2.06 GB)
[#001] sha256:325ca01145f0fc17834eb1871e37e4a03c69b868e3eb071bf21be6413d720e5e - 18.84% (661 MB)
[#002] sha256:b310536b4b5885da7c718a5d375a4626e695e1c08a66694db738bc8377890438 - 0.0% (1.29 KB)
[#003] sha256:d81c25107720784eacc6784b66afa8644fe16da7c81a8548bd81ac5706dfc54c - 0.0% (1.26 KB)
[#004] sha256:42014179846fd837167073325e8263275766ecb13b76a6b293a4977d4ed18ab4 - 0.0% (1.26 KB)
[#005] sha256:ea3aea4e2cef19328ff94adf4a673c47a18f3e45da4cbfbcd035950a681c1768 - 0.0% (1.28 KB)
[#006] sha256:15ec31aaa366bdce81d0d2e1c0a00644dae35bc56ba67877003fe37d4c3100ff - 20.97% (736 MB)
[#007] sha256:02aba700c7a0855c350454e37f450b8c76fbd0e706b4f7c31e9986d1e09945c9 - 0.0% (1.25 KB)
[#008] sha256:42b0044597db97cca19bb04cc1fac1dbb6d69536b0d4adc81fb550cec0fe04ab - 0.0% (1.26 KB)
[#009] sha256:0385de60a305f816615bc2f5417b20bad5cc6c7bf57efb089b47c2b1eb670453 - 0.0% (1.28 KB)
Apply image 10.0.26100.2605
2025-03-07 06:08:48 UTCInstall update 10.0.26100.3476
2025-03-12 18:53:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-03-12 18:53:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.6-rc1
2025-03-12 18:53:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.6-rc1-signed.msi
2025-03-12 18:53:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=57a12dd49f6b16b12bc4a8afe8c707d8b642251fd8cfc44085dd0eeb29416004
2025-03-12 18:55:10 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-03-12 18:55:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-03-12 18:55:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-03-12 18:55:13 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.