2024-07-16 00:06:10 UTC
2.7 GB
94f871a89c8f67a225eae85cb6cfd4ce10be0b901986275d4fe49c7385d931ee
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc13-signed.msi
MONGO_VERSION8.0.0-rc13
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 47.81% (1.29 GB)
[#001] sha256:5f0206d135152eb909f50159d6ca348a5aead199afacbafc000b770c1b0720f6 - 25.86% (716 MB)
[#002] sha256:ded6c192fc1e16b40c64ff55d5ce0c025a5742157eabccd6d7226ec12044e1f6 - 0.0% (1.26 KB)
[#003] sha256:40ae6aef2b2effebef3f232e3f379bfd0c9a0b4510fc3850bba9c0196381de38 - 0.0% (1.25 KB)
[#004] sha256:90bd0fbdf59b7d741147fe0b63be85b72b223a5ac432ca7fa989907fa32a52b5 - 0.0% (1.26 KB)
[#005] sha256:faabaa273dc6376fa3a95c2da5e6cc4f18857151a8cb1c5bc3919097afaef50f - 0.0% (1.25 KB)
[#006] sha256:b1fd8ce9556f1a83912cc88e13b789192c36db86ece78180cec9bac7138a38d8 - 26.33% (729 MB)
[#007] sha256:85fe2cc2827e849cbb7a37e15b8f067a0c6f1243d85d2490ea7b9df1b1483acc - 0.0% (1.25 KB)
[#008] sha256:03bf291a9a851b3b856f4f2c79d04b38586df30ebe05749d9219e749867ab5ff - 0.0% (1.25 KB)
[#009] sha256:44c0dc2819366f08d2fbee329590bf7bf1a6f029b3af047b6c5f623ae7e450b6 - 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-16 00:04:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-07-16 00:04:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc13
2024-07-16 00:04:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc13-signed.msi
2024-07-16 00:04:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=94f871a89c8f67a225eae85cb6cfd4ce10be0b901986275d4fe49c7385d931ee
2024-07-16 00:06:08 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-07-16 00:06:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-07-16 00:06:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-07-16 00:06:10 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.