2024-08-19 19:12:10 UTC
2.8 GB
6440c24623669f23b7d6967c968e165472bd0bf249eaec040634df57e4147d7f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc18-signed.msi
MONGO_VERSION8.0.0-rc18
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 54.81% (1.54 GB)
[#001] sha256:579bd4d5f7fd8737f66e40b29aafedee32d589107027d75796993c8898e3e7dd - 19.74% (567 MB)
[#002] sha256:da8dd684709ab6891d24b693784cd4c3f20abbee74f630b40dfba7c2d1d6eb5c - 0.0% (1.26 KB)
[#003] sha256:9db09907a00bbf7dc045e78000890c229f0ef5231f73e3c63f2272bb903ba95b - 0.0% (1.27 KB)
[#004] sha256:bf98d1bd97b8cb7d7fd03bf0ee3203d42d09c2cef53192b6f690675c22769b33 - 0.0% (1.27 KB)
[#005] sha256:170d57271be1e6fc5bbc60298a85bac8b8270b77e1e64d6fa288a51f8c6eda84 - 0.0% (1.27 KB)
[#006] sha256:16fbbc099ac14e346b82d4f0f07730eb2484f15802819e7ab821ee4a8621b0f0 - 25.45% (731 MB)
[#007] sha256:f5317bf72f861adb10dc077242793616845cbe6972e0cb617fe7ac694c77b71b - 0.0% (1.3 KB)
[#008] sha256:c46b7f88542c91524a4f79d9dcce38e9d34d68b18b76402f1d9a22a2dc679eb0 - 0.0% (1.28 KB)
[#009] sha256:6b4c9fecea55ff8b7f7e04552e3f1c47b437898051f82735df297363e0353e4c - 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-19 19:10:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-19 19:10:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc18
2024-08-19 19:10:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc18-signed.msi
2024-08-19 19:10:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=6440c24623669f23b7d6967c968e165472bd0bf249eaec040634df57e4147d7f
2024-08-19 19:12:08 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-19 19:12:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-19 19:12:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-19 19:12:10 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.