2023-12-15 22:55:27 UTC
1.99 GB
0364b36a2127ff8b99a989c621e6e0b26c00947015685f899f0485b6132cfacd
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.27-rc0-signed.msi
MONGO_VERSION4.4.27-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 65.04% (1.29 GB)
[#001] sha256:7839fc47f6e056f9e09a214230f8b7115e69419dbc74acbbb1ad6bc0caa28862 - 23.45% (477 MB)
[#002] sha256:7b3af9e81d667cb86371248b458cddcf3bc1c4b4a6e3475cd3a3c4beb3d197a5 - 0.0% (1.28 KB)
[#003] sha256:6bf38a97d1bcc5631a0a8c3ebe80b549c87b4f92c28c8c93cf7e1ab225755fe3 - 0.0% (1.26 KB)
[#004] sha256:71ce16424eedb14816bd188b94458e7ec90487f33c736be738a71a7c7e131821 - 0.0% (1.26 KB)
[#005] sha256:03254039c2e9b7ad263f890615449e517f4f9ec473822dc4d2d9feca5a694052 - 0.0% (1.27 KB)
[#006] sha256:0dcb51e2c52d10fe313535247cfe98ded6bab7887fcfd6c22a539bc10ee7dd31 - 11.51% (234 MB)
[#007] sha256:998e8528a827b2afc474a816d7e8c73d64aedf2dd1ccc3b7bfb02b1c950ef02f - 0.0% (1.26 KB)
[#008] sha256:8ba0ed83b265a65eaf4740db7973b42d1dd486e261279476c158930e440740ef - 0.0% (1.26 KB)
[#009] sha256:a5d7c63d48977def90cefd2ffa8102a9cedd34931a90e887d67bf3b5c3274a8d - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2023-12-02 12:42:56 UTCInstall update 10.0.20348.2159
2023-12-15 22:54:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-12-15 22:54:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.27-rc0
2023-12-15 22:54:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.27-rc0-signed.msi
2023-12-15 22:54:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=0364b36a2127ff8b99a989c621e6e0b26c00947015685f899f0485b6132cfacd
2023-12-15 22:55:23 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-12-15 22:55:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-12-15 22:55:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-12-15 22:55:27 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.