2024-07-10 17:09:50 UTC
2.38 GB
3da3dc8c13ddb8405c230c8495d4412d9a847b6c24e937b63c6b67437984a175
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.27-signed.msi
MONGO_VERSION5.0.27
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 64.7% (1.54 GB)
[#001] sha256:b5f98e7fe87492b83d7775a348ae0c94412b638ab5bba1a80b03c3a547708acd - 23.04% (561 MB)
[#002] sha256:9e99c1a11afb87ad014a1c94a457b049d5ab1ce3b9f684e638b5eee3946b64fb - 0.0% (1.27 KB)
[#003] sha256:2b06085ee7dac76cc4903ae21a38828354a827cb315ce764a745b531dd024607 - 0.0% (1.27 KB)
[#004] sha256:d1f13ab97a0804b1d52c100627cebb037d203e66ddb049184cfd011655300057 - 0.0% (1.26 KB)
[#005] sha256:af5ed595f99cb113bba6e87c1cdaf1f9ba2d8eb43050548e1e8a0b388fff5c90 - 0.0% (1.27 KB)
[#006] sha256:e46dd163fdb375f0696d4301a242b79cde72ec1829bb21ce5b19ae4a9e141efe - 12.26% (298 MB)
[#007] sha256:02eae246a5a6e812ee73f002134df5a24ac4db7d3ff556fa45ca3340f2457b4e - 0.0% (1.27 KB)
[#008] sha256:0035915a803950919a5df1a04e7f57538daee2619f29311bc2c7f22e4e72642d - 0.0% (1.26 KB)
[#009] sha256:6baaba919747189687ecefedb1375de6a195ae2d713d5b0834ec9da95762809a - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-07-03 00:34:32 UTCInstall update 10.0.17763.6054
2024-07-10 17:08:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-07-10 17:08:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.27
2024-07-10 17:08:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.27-signed.msi
2024-07-10 17:08:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3da3dc8c13ddb8405c230c8495d4412d9a847b6c24e937b63c6b67437984a175
2024-07-10 17:09:46 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.';
2024-07-10 17:09:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-07-10 17:09:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-07-10 17:09:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]