2023-11-16 03:53:57 UTC
2.05 GB
5648bf3b9fa727f45c403d934889ebafc0aa343ca8ad0578c812cc281bb2a544
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.23-rc0-signed.msi
MONGO_VERSION5.0.23-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 63.1% (1.29 GB)
[#001] sha256:7989ef2c4cfb06d845746a3c3660481ea84d3f5c8216041855ce528f0ac4015c - 22.64% (475 MB)
[#002] sha256:d1a73dc3dec59ae25ff1232f5fdf2ab39df387f3bf86ba48717ff271d76c2feb - 0.0% (1.39 KB)
[#003] sha256:221f4e0d157ef7235b28880893e0768db791458af9a3bd85ae24df03b074e8bd - 0.0% (1.31 KB)
[#004] sha256:220e5624bfdbd6469e947cea7561db79054f7200f69366afcb8d8882ec3e7c24 - 0.0% (1.4 KB)
[#005] sha256:17e0497052d915521647c52a1d3f90994cdb635e37d368a405955272e2b9137c - 0.0% (1.29 KB)
[#006] sha256:334657cacd658373cdb4fe689f127c907aefbb38c8ad34702d80d5a24d50d613 - 14.27% (299 MB)
[#007] sha256:f16729589f6b3d85b38528cd6cc984280d66f9ab625bdf1d19ff575a5f4a51c8 - 0.0% (1.26 KB)
[#008] sha256:18af66c42c5118400a62a622abf1d07881df6d4d32b91c798161931c7b1b3853 - 0.0% (1.3 KB)
[#009] sha256:c9d10440d2ccd57d29adfc630cfb32d3aea376e3f2cdbc041bab970d5ed40bfd - 0.0% (1.29 KB)
Apply image 10.0.20348.1787
2023-11-09 06:47:20 UTCInstall update 10.0.20348.2113
2023-11-16 03:18:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-11-16 03:52:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.23-rc0
2023-11-16 03:52:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.23-rc0-signed.msi
2023-11-16 03:52:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5648bf3b9fa727f45c403d934889ebafc0aa343ca8ad0578c812cc281bb2a544
2023-11-16 03:53:53 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.';
2023-11-16 03:53:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-11-16 03:53:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-11-16 03:53:57 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.