2023-02-16 01:28:38 UTC
1.83 GB
ca29ee417e920a55a48240ad9dc63cabc4bb334e6e38bb579aee0191d78b3409
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.23-signed.msi
MONGO_VERSION4.2.23
[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 70.47% (1.29 GB)
[#001] sha256:d1d015a9e7adea898d81486dce8b513b0e9cbeca30904cac18c3ea98ab3be7a6 - 14.91% (280 MB)
[#002] sha256:028996d5eeb6d70e4f35b4acb3bafeee3f326bb40438911de597cad432ffdbc1 - 0.0% (1.32 KB)
[#003] sha256:e7d4e901b691c1d071998559f618118b1c830b15d6f0ded5d4e29830fd4a3603 - 0.0% (1.38 KB)
[#004] sha256:0a12c0666b7f74fb7969f86ff912ba4145ee5a2e8d4f77e66bab844a96011f2c - 0.0% (1.28 KB)
[#005] sha256:2b7d600dbfe44c7e96fff16c8afd455ba2a5fcbef560bb7ceb44160bd174d6ef - 0.0% (1.26 KB)
[#006] sha256:0032d2284a9f9d1d2ea3d3b303af6ab1ad650fff926f6a5c18cad31cd2e7e077 - 14.62% (274 MB)
[#007] sha256:0643596ba055ee9e9c6ece6ec4ff1a7ea439f66e494320e389ac94c1c9757373 - 0.0% (1.3 KB)
[#008] sha256:df0068aabbee276dd2f9d3910c44eb09d35a0622570c4f2d701b3c66e3032dfe - 0.0% (1.26 KB)
[#009] sha256:94313c7188142c1e6e318bde13c24c3e3d4b54667db2234f2f69da83a311fdbc - 0.0% (1.36 KB)
Apply image 10.0.20348.1487
2023-02-07 11:42:22 UTCInstall update 10.0.20348.1547
2023-02-16 00:38:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-02-16 01:26:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.23
2023-02-16 01:26:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.23-signed.msi
2023-02-16 01:26:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=ca29ee417e920a55a48240ad9dc63cabc4bb334e6e38bb579aee0191d78b3409
2023-02-16 01:28:34 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,ImportExportTools,MiscellaneousTools,MonitoringTools,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-02-16 01:28:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-02-16 01:28:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-02-16 01:28:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]