2024-08-13 20:21:29 UTC
2.8 GB
784480cb95392566d2556c880608cce2374cf3d45c0885790cb9441eebbd2220
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc17-signed.msi
MONGO_VERSION8.0.0-rc17
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 54.83% (1.54 GB)
[#001] sha256:579bd4d5f7fd8737f66e40b29aafedee32d589107027d75796993c8898e3e7dd - 19.75% (567 MB)
[#002] sha256:b7287ff43d87cb9698453d447e07c561d8357559b0ecf251c1db4421b78cc140 - 0.0% (1.32 KB)
[#003] sha256:03507939e1d35fbfff05245fcd4ab49febfe42e4ded9181d2aba57b195e622d7 - 0.0% (1.27 KB)
[#004] sha256:2bc2740c569089f1cffa380ed277097b9f3e1696e54a2dfa4659919131bd4ea1 - 0.0% (1.27 KB)
[#005] sha256:ba205890a48bf267f7b3dbe7fadcd9308c49f0217b407ca1a564298289fbb35e - 0.0% (1.26 KB)
[#006] sha256:a42edef9231c8300305d8055beddf7f5c42d0db0a26abd90c1bbe6c51193bb67 - 25.42% (730 MB)
[#007] sha256:5b40e301865352e6621a12c440e3275eac23bac88d30456369e942e9635a8217 - 0.0% (1.26 KB)
[#008] sha256:089ec533d465ad468cda1474084d0fc8cb00f1228505d9356a96d84158f10a01 - 0.0% (1.26 KB)
[#009] sha256:cb691351c83894ef350de657ca727a0f9bf32dfd7f3269e63291d056c1d99825 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-08-11 07:11:31 UTCInstall update 10.0.17763.6189
2024-08-13 20:19:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-13 20:19:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc17
2024-08-13 20:19:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc17-signed.msi
2024-08-13 20:19:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=784480cb95392566d2556c880608cce2374cf3d45c0885790cb9441eebbd2220
2024-08-13 20:21:27 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-08-13 20:21:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-13 20:21:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-13 20:21:29 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.