2022-01-24 23:17:52 UTC
2.33 GB
a791d7197849516381b3dc5b2ebb988432b95b52e347a3ce3d70d026d108886a
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.5-signed.msi
MONGO_VERSION5.0.5
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 50.01% (1.17 GB)
[#001] sha256:0e02c12b1310e6c76c29fcd6f81905400fdb6a01caac9dc825939ad004baffef - 38.19% (912 MB)
[#002] sha256:8c23346c84162bdf06f85b57d55396916bb13e6a631f65a1e6ee317bfe8a7f8a - 0.0% (1.39 KB)
[#003] sha256:cdfb8e19c33da90e4b959bf96f8f46d86afebebac146ad3876cc8100a8460bcf - 0.0% (1.4 KB)
[#004] sha256:10759aacaa01f8b4eb9fca25d7c10f37a1f3de8ef0f87d2e71dfef757329fa47 - 0.0% (1.38 KB)
[#005] sha256:6060c6648df05986e8fb9c93ecbc7bfa8031aedd17ae79454037aff5ecbbc4ca - 0.0% (1.39 KB)
[#006] sha256:df34b3934a6ce23845000b4830b73865d1021a7fec3282fa114f62860b815491 - 11.8% (282 MB)
[#007] sha256:18eae1faf50d3be51c2010c58647f37597dfe43a655884e5df6d43bb1f1b2ecc - 0.0% (1.39 KB)
[#008] sha256:c4e2dec1296a1023fced73bc10eb85d43210bf88eb8d2dbd8bed87f147c937a5 - 0.0% (1.4 KB)
[#009] sha256:4f290635a2076097a3fdb5a86c99bfc13d6cc56b1939817c74b03bb0578e7264 - 0.0% (1.37 KB)
Apply image 2022-RTM-amd64
2022-01-16 05:17:24 UTCInstall update ltsc2022-amd64
2022-01-24 23:14:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-01-24 23:14:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.5
2022-01-24 23:15:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.5-signed.msi
2022-01-24 23:15:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a791d7197849516381b3dc5b2ebb988432b95b52e347a3ce3d70d026d108886a
2022-01-24 23:17:48 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-01-24 23:17:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-01-24 23:17:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-01-24 23:17:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]