2022-02-09 17:05:10 UTC
2.29 GB
a46ddabb46813c509555bdb012e34f0aadd12b5348a23ad7206fc18ac5a2fcd0
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.12-signed.msi
MONGO_VERSION4.4.12
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 50.94% (1.17 GB)
[#001] sha256:898469748ff68223ab87b654b29fb366c1f4f2b7cfad7a37426346ea16db8dfa - 39.2% (919 MB)
[#002] sha256:ff78097ae7bacc8d0990c9620bbe5ddc9639d4f309f097c6cdd3cc7a68e56aad - 0.0% (1.39 KB)
[#003] sha256:71cffe06af1c1645724261714017ce09674746020729c6daebda80130b78f743 - 0.0% (1.36 KB)
[#004] sha256:88d7bcff494cc526f5aff6de5314aa374a33dbb0725697770c2ee0c4bab25967 - 0.0% (1.41 KB)
[#005] sha256:34cb58be5233fd15ab8725109c659ed1f3f7a346490cfda6a7ee4803f282aa4d - 0.0% (1.41 KB)
[#006] sha256:acc1a7ff3fdae5e86592af3405728b5e1e5e0bbe1a0dd308b2321175bc288792 - 9.86% (231 MB)
[#007] sha256:45f16aefdac220eb5d808a4ba345ab00b970cb77d23a97ec3a4b672b9dd96f37 - 0.0% (1.4 KB)
[#008] sha256:e4807e1d8469b836a10961f1281150c6ea3949ee170d3a9a45b546111e619674 - 0.0% (1.39 KB)
[#009] sha256:9f3a0bccaa7498de9b1debdaf5075f0a476c170db19bb6e74d56600cd7294f95 - 0.0% (1.36 KB)
Apply image 2022-RTM-amd64
2022-02-01 02:49:40 UTCInstall update ltsc2022-amd64
2022-02-09 14:56:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-02-09 17:02:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.12
2022-02-09 17:02:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.12-signed.msi
2022-02-09 17:02:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a46ddabb46813c509555bdb012e34f0aadd12b5348a23ad7206fc18ac5a2fcd0
2022-02-09 17:05:06 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\mongo.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.';
2022-02-09 17:05:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-02-09 17:05:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-02-09 17:05:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]