2024-08-02 14:36:45 UTC
2.8 GB
adb4fff847f895937519a50bfa54505f0cf83ae236174ef49360fcbb15ce26ca
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc15-signed.msi
MONGO_VERSION8.0.0-rc15
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 54.96% (1.54 GB)
[#001] sha256:b5f98e7fe87492b83d7775a348ae0c94412b638ab5bba1a80b03c3a547708acd - 19.57% (561 MB)
[#002] sha256:2946b308872b0804eb0cbc5c066150a7bad1c372eb9460db5af7dcc4ceac344f - 0.0% (1.34 KB)
[#003] sha256:e1faaa3928ce827ab5f2722831379f1b66553a063e57ae44cfd11ec1e8c77232 - 0.0% (1.34 KB)
[#004] sha256:f468aa59b8ff3c381e68fb2933befd564eedb85a843d3641f758fa1aecdb9df9 - 0.0% (1.33 KB)
[#005] sha256:863b0bf0e146abc62f561920a2eabe3ae7301e428f5fa31855c04f7ece0ee813 - 0.0% (1.34 KB)
[#006] sha256:b6bb788dddb471e5139d4a544b528e811055f535eb1478028df30b169e90feb9 - 25.47% (729 MB)
[#007] sha256:3369740db00d89baa6d89738040fd53ae323b72c891f8de231417ed7ff154e68 - 0.0% (1.31 KB)
[#008] sha256:9a42cbd3d8cf056c82412a1ee44075a5bf3deda3bb17e9956e89f579e82b7606 - 0.0% (1.3 KB)
[#009] sha256:d452cb04d458eefc616f342526eb17301b8d9220ff879bf06d5e60c078f69900 - 0.0% (1.3 KB)
Apply image 10.0.17763.4499
2024-07-03 00:34:32 UTCInstall update 10.0.17763.6054
2024-08-02 14:32:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-02 14:32:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc15
2024-08-02 14:32:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc15-signed.msi
2024-08-02 14:32:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=adb4fff847f895937519a50bfa54505f0cf83ae236174ef49360fcbb15ce26ca
2024-08-02 14:36:42 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-02 14:36:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-02 14:36:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-02 14:36:45 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.