2025-03-14 23:28:08 UTC
2.58 GB
de7422fd80c73165e3d3c2428ea18d23430ab7595eadd9668999cb0b97bb05d7
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.18-rc0-signed.msi
MONGO_VERSION7.0.18-rc0
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 62.22% (1.6 GB)
[#001] sha256:c77bec5e4bac3c7f6dc5d56da5ffc11e72881485b3a55330c17c915ad653f955 - 15.6% (411 MB)
[#002] sha256:3e0ef82d3623d9a2127ba79e818ff646a49a7b13e53162c162236662fc79675a - 0.0% (1.27 KB)
[#003] sha256:b8a7a094805fa81c115e23d91f7541b00c3cc247f8cd6273ea15b846e20ba6ba - 0.0% (1.26 KB)
[#004] sha256:6bceca845bf21ee7e37e18724406f9ec388079af3b24eb95c549a32476501d22 - 0.0% (1.27 KB)
[#005] sha256:91a7362565ddbeff31647743601e4d2dd57fea4e474a202850d947a13bb640b9 - 0.0% (1.27 KB)
[#006] sha256:c7981567e1fd9e8d467cebe56021221400eedcf2d8f3d78965233ce6c88e4831 - 22.18% (585 MB)
[#007] sha256:03ca356bf3f8633c1fc3d60b0904a9b33dc15085e34b9da4a6488639ef0ef147 - 0.0% (1.26 KB)
[#008] sha256:e0379071f0b73a41a779d4d1d942b4b65c8bf6e71aaf176a189d2dbcf5037315 - 0.0% (1.27 KB)
[#009] sha256:5ec9cbceed789a71aea12a73fa5de048a06101f361b71acaaa82b3ade7602717 - 0.0% (1.25 KB)
Apply image 10.0.17763.6293
2025-03-05 22:09:20 UTCInstall update 10.0.17763.7009
2025-03-14 23:26:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-03-14 23:26:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.18-rc0
2025-03-14 23:26:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.18-rc0-signed.msi
2025-03-14 23:26:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=de7422fd80c73165e3d3c2428ea18d23430ab7595eadd9668999cb0b97bb05d7
2025-03-14 23:28: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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2025-03-14 23:28:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-03-14 23:28:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-03-14 23:28:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]