2023-10-26 23:17:16 UTC
2.31 GB
cf982a2f94e69158769ce620dce75aee1059e5ac33f7304b07f119a23b496a8b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.3-rc1-signed.msi
MONGO_VERSION7.0.3-rc1
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 56.1% (1.29 GB)
[#001] sha256:e3d2471a50c8ec3ea61c16dd871f7b9167bf779faad2b6e5a6f72a18b88b846b - 19.04% (449 MB)
[#002] sha256:c131d94d08cb023367d3fd8434c336e9d07495660367cc521ddff869fb44dc7d - 0.0% (1.38 KB)
[#003] sha256:843ca08d61ce9222454e5689eba5ff7d0cda41ae4c2011abefdd2d3a1a8baaf3 - 0.0% (1.32 KB)
[#004] sha256:b244dba97262be00d673d416687642560312380fc1c2ea40d5343df419919e75 - 0.0% (1.38 KB)
[#005] sha256:c9a2cbcad69a81aa2da31239d2600801683820fd6f6729f9f5c7bd543914d35b - 0.0% (1.39 KB)
[#006] sha256:732b87e057199e19c50b1207e5887b2b4ddc28ad0a79affefb91171b7d3ae8d2 - 24.86% (587 MB)
[#007] sha256:d95cf8ff19ba8b15cae265eda69003164141905003abdeca917b7dae24919dde - 0.0% (1.38 KB)
[#008] sha256:9f10f2c301a7e3ee4dd73d81fd54198bed4aed004f23d48cb12897c4c45b066e - 0.0% (1.36 KB)
[#009] sha256:c08b86f6550faf42a953482ed62b5505488c81e6f41f1e153486d0818e224e75 - 0.0% (1.36 KB)
Apply image 10.0.20348.1787
2023-10-06 21:59:31 UTCInstall update 10.0.20348.2031
2023-10-11 02:54:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-10-26 23:15:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.3-rc1
2023-10-26 23:15:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.3-rc1-signed.msi
2023-10-26 23:15:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=cf982a2f94e69158769ce620dce75aee1059e5ac33f7304b07f119a23b496a8b
2023-10-26 23:17:13 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.';
2023-10-26 23:17:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-10-26 23:17:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-10-26 23:17:16 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.