2023-08-10 01:49:29 UTC
1.9 GB
cc0c9055c5a8cb43bb51c14d5447f358be717f63ebd9b9774ef923289170393a
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.23-signed.msi
MONGO_VERSION4.4.23
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 67.95% (1.29 GB)
[#001] sha256:22a441455ace20af58f01367d769afc2b25c3db3e4a7aee67a634d14826f6f19 - 20.0% (390 MB)
[#002] sha256:85b1b41cab0d4b78c8daa50728be89bc3c25ded051cc1e654b316623692507f1 - 0.0% (1.37 KB)
[#003] sha256:db88da0ebd4767a511eca37bca6779a43467cf2a22e750bb2648e31b668293ff - 0.0% (1.27 KB)
[#004] sha256:024d22c375b89fd426abb6ec70bfc5945da51c767a98d68c8fd3bcd8f9dcc964 - 0.0% (1.31 KB)
[#005] sha256:a74b7fc3e35084611e0e2fdbea0bdc35e89affa87e03f0db1a3ad35a9a6d4797 - 0.0% (1.35 KB)
[#006] sha256:651dd55a1f52fcf424979cda203f088a36311d7c38dde71f9d334d7ab4d99395 - 12.04% (235 MB)
[#007] sha256:35defe5d30a4f1eb817a165327994f1994bf6e5baa3b5ea40c7e75ff1cb00130 - 0.0% (1.26 KB)
[#008] sha256:ed3801682c7e74de4d80fc1ac8f6a19e08d31ce2f99f13d9eee27d0823b46f82 - 0.0% (1.29 KB)
[#009] sha256:526526d6293bd56f51f0f641464a25ff2deeedf1cb24d9b83291eadb6ade10a3 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2023-08-03 10:01:10 UTCInstall update 10.0.20348.1906
2023-08-10 01:08:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-08-10 01:48:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.23
2023-08-10 01:48:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.23-signed.msi
2023-08-10 01:48:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=cc0c9055c5a8cb43bb51c14d5447f358be717f63ebd9b9774ef923289170393a
2023-08-10 01:49:26 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=Client,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 ' mongo --version'; mongo --version; 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-08-10 01:49:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-08-10 01:49:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-08-10 01:49: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.