Namespace
library
Image / Tag
mongo:8.0.8-windowsservercore-ltsc2022
Content Digest
sha256:3d9192e6a0d8d7f38e19dda839971175c730de926dddad0c4ad87bd4d3f3a476
Details
Created

2025-04-18 03:23:36 UTC

Size

2.83 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

4bf700912876c337697fa02bf4c38db0baed89604033b138e5e27d4e3eb743ee

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.8-signed.msi

MONGO_VERSION

8.0.8


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 48.04% (1.36 GB)

[#001] sha256:b0b6ee194dfee460cc53e0f761b7ff976c08380d6cd1e70cc50ff92cfa99d176 - 26.66% (774 MB)

[#002] sha256:0c0a799ed0baa2f08b457f4262f3681003590d226c51897e208f0ad4446a9f8f - 0.0% (1.27 KB)

[#003] sha256:c996944d9075a66673187943a5f15bebda3a7fa5edc6373e2e3fdb752ebf40bc - 0.0% (1.25 KB)

[#004] sha256:43a4892383e4ce5ad2cd72d4214ecefff8d7e204b5515a2c3988a1a890e785b5 - 0.0% (1.25 KB)

[#005] sha256:12debd4a8faf494521a140fdf5cbb3618d02ab3ea5ae37a37ec925ccf4cf42d5 - 0.0% (1.25 KB)

[#006] sha256:c3827c422be56a23d274a26d5f041950f768051ebe2adc6b6a4651cb73d5e807 - 25.31% (735 MB)

[#007] sha256:6588518bb36c4adbc1d16c228d3bd8a60f91fe182cb5d6dccdd2e27d834a3f1c - 0.0% (1.25 KB)

[#008] sha256:90e281d7ba2aec66d5ad3fff066e157e7c00142878b53a0f89838a3de966fb45 - 0.0% (1.25 KB)

[#009] sha256:6e1da6b3b829ec1ae637036628cf9fb2bdf3800173a32af4aac02356b1bbb248 - 0.0% (1.25 KB)


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-04-16 03:49:18 UTC

Install update 10.0.20348.3566

2025-04-18 03:22:08 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2025-04-18 03:22:08 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.8

2025-04-18 03:22:09 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.8-signed.msi

2025-04-18 03:22:10 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=4bf700912876c337697fa02bf4c38db0baed89604033b138e5e27d4e3eb743ee

2025-04-18 03:23:34 UTC

powershell -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-04-18 03:23:35 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2025-04-18 03:23:35 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2025-04-18 03:23:36 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]