2023-04-12 00:34:02 UTC
1.87 GB
86e0128dc758ba0e83740abd5a969917e29729251270602ba980ebee1580ffdf
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.20-signed.msi
MONGO_VERSION4.4.20
[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 69.0% (1.29 GB)
[#001] sha256:f4ecfa9c953d28a9da9d422b57cd0361c57c44e1faaaed7e50a2537d1c29cee1 - 18.75% (359 MB)
[#002] sha256:6a3664aee9b0b3199a388e1a7d17e99ada617d122d6a2572b0c40140fdea31a3 - 0.0% (1.39 KB)
[#003] sha256:1e24f6c4f07dae650df974f1fe7a7583089b9ddb314f27fe69650a6918f53c20 - 0.0% (1.29 KB)
[#004] sha256:4d571e27159469a1ce778d8c795db52c321449c0de26106b334c758dec557106 - 0.0% (1.26 KB)
[#005] sha256:3ea7aa8629da7b83e6950844f53178647d589af6594207369a35e1a96c1d2329 - 0.0% (1.24 KB)
[#006] sha256:35c58b24afb3ec8ea62309758ec27f8cf6970bd892bc6bc395fd2445de3c1e68 - 12.25% (235 MB)
[#007] sha256:c48a09ecfe34dd78181da3854ca3fe6ce831c325c1e7ce33879cd2d92f1127c3 - 0.0% (1.26 KB)
[#008] sha256:e123eb3f8da8232c816136c387b39467a96d952a7389a28c145bcd66f46045df - 0.0% (1.28 KB)
[#009] sha256:923b7c5b30ec0f3c6a444303785f61823f3d3e6bf472292eb26bf613e11d564c - 0.0% (1.26 KB)
Apply image 10.0.20348.1487
2023-04-05 00:38:27 UTCInstall update 10.0.20348.1668
2023-04-12 00:15:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-04-12 00:32:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.20
2023-04-12 00:32:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.20-signed.msi
2023-04-12 00:32:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=86e0128dc758ba0e83740abd5a969917e29729251270602ba980ebee1580ffdf
2023-04-12 00:33:59 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-04-12 00:34:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-04-12 00:34:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-04-12 00:34:02 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.