2023-05-31 01:21:23 UTC
2.5 GB
3f92472aae25fa5f7336c8a062844fd01188e8e0deb7932f4bd9b4974cb51a7b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc2-signed.msi
MONGO_VERSION7.0.0-rc2
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 63.59% (1.59 GB)
[#001] sha256:e01de39a0c44e24aa1912078d32ee54389b71154e509138cc4f5d1de42e7a32a - 13.56% (347 MB)
[#002] sha256:f2a89be60a77cd8d520ec5f03d703ddbc15675dd1df4d95e041032cf08960af5 - 0.0% (1.36 KB)
[#003] sha256:a953bf2459cfcf8c600e1598e268dcc34dc791ff88265a7d3bcf532b79090ace - 0.0% (1.41 KB)
[#004] sha256:94f43393f7204dabbad3771667be2834220b4344ed241e39acfc9450e251c4bc - 0.0% (1.39 KB)
[#005] sha256:8a3975699bdddbedf85a1d084e6603cf4ac47675675cae2fac59a8ae48db4c58 - 0.0% (1.38 KB)
[#006] sha256:73e786aaa8a98466e3a8fa66f93fb4ff05949666766ec93fc94c22abbea46fc1 - 22.85% (585 MB)
[#007] sha256:5adc9c8fcc697ef6a74603fc9641e44ed7f6bf5df83ef8b6d1a2e0a5c89ed0a2 - 0.0% (1.39 KB)
[#008] sha256:74d0d1652b0faf7945f9fbfe13fe3d4d83b7bd4693d43dbf23181da235a84f94 - 0.0% (1.38 KB)
[#009] sha256:08e161acdcdca76a65b533c5cc7117e6199e1995b5e3b5384992380ee15b3459 - 0.0% (1.39 KB)
Apply image 10.0.17763.3887
2023-05-05 12:05:28 UTCInstall update 10.0.17763.4377
2023-05-10 01:56:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-05-31 01:18:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.0-rc2
2023-05-31 01:18:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc2-signed.msi
2023-05-31 01:18:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3f92472aae25fa5f7336c8a062844fd01188e8e0deb7932f4bd9b4974cb51a7b
2023-05-31 01:21:18 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-05-31 01:21:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-05-31 01:21:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-05-31 01:21:23 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.