2024-06-22 01:06:47 UTC
2.78 GB
299093fd846b1c57de8c80cf5b37e83718604b9713d40281f423611ab378a806
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc9-signed.msi
MONGO_VERSION8.0.0-rc9
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 55.31% (1.54 GB)
[#001] sha256:56a5fd77f8cb6921d3e283f98213bf8c163d3502a75b4a8e4a809a15654f7d1a - 19.1% (544 MB)
[#002] sha256:dec3d89b9d59253ad2284845778d96963a3ff5763fb6fda95350d729961aaa64 - 0.0% (1.27 KB)
[#003] sha256:5af35e233b9bdf1b70486a1c47f2679b8a2bcf8b85e16218f23495e831fc0139 - 0.0% (1.27 KB)
[#004] sha256:1627c3e76daf17a37413bc360fc5d993178069bf1cc9afaa3320142fe7a50ce8 - 0.0% (1.25 KB)
[#005] sha256:3f73fc286f566da16496c3d7758ccf365ec111a98f862be7d974285b46c3fcca - 0.0% (1.27 KB)
[#006] sha256:cca5b2c5083fe923e12d396a95a36c2eecf279464383f87c9933156a78fc1d0a - 25.59% (728 MB)
[#007] sha256:36858d0b7c1d1fc361477415e2f250dbfc1f74f78a27642a932850e05df368f2 - 0.0% (1.27 KB)
[#008] sha256:5f3efeac2fb10e4643e552276c6a30a39ae6762bce0c92f0fd71e8963edd8954 - 0.0% (1.27 KB)
[#009] sha256:dccd47f23c01d27ac5565079750ac7355cd75a059254691143de85fa82e6801d - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-06-07 11:19:50 UTCInstall update 10.0.17763.5936
2024-06-22 01:04:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-06-22 01:04:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc9
2024-06-22 01:04:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc9-signed.msi
2024-06-22 01:04:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=299093fd846b1c57de8c80cf5b37e83718604b9713d40281f423611ab378a806
2024-06-22 01:06:45 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-06-22 01:06:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-06-22 01:06:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-06-22 01:06:47 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.