Namespace
library
Image / Tag
mongo:8.0.1-windowsservercore-ltsc2022
Content Digest
sha256:79d693fcde759cb7bfebb79891f276c5efbca068ba25e8c8244e8a160c53b49d
Details
Created

2024-10-09 23:10:16 UTC

Size

2.39 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

303e766388b9965ce5ee40f01df921275fbd53da7ba3d729c8767c4d0de0ce8b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.1


Layers

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

[#001] sha256:3445b497121718058765c341117a0c1522c51cd65bec8c517981a745ff91f0bf - 13.14% (322 MB)

[#002] sha256:5c67852e8cb7bfcd025aabec978e2952a11c46530460b397ca7f0e0efdad8228 - 0.0% (1.25 KB)

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

[#004] sha256:9eaf2bbdfaac538e5d96b9ca30cb2962c076b384c474e0b8c61937878b0decb3 - 0.0% (1.25 KB)

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

[#006] sha256:0f7e9b32e4d3e56bfa991f9051c636d3a1e2e435f52dbd1200c3fd1fdac777cd - 29.86% (730 MB)

[#007] sha256:7d7759e7f02dfa4994f17c9fd21a65d986e7be9ad6fb1f407cd56b8c13c20138 - 0.0% (1.25 KB)

[#008] sha256:0a36cd8241fa686b0309fa11e4cebbffe5b9b9a82b29505c9f3ba91f2b61728e - 0.0% (1.25 KB)

[#009] sha256:4c9b93cc89d0e88e4565926462539c41439075bcfa18bd1d59fbbe7d47975b6c - 0.0% (1.25 KB)


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

Apply image 10.0.20348.2700

2024-10-06 04:56:48 UTC

Install update 10.0.20348.2762

2024-10-09 23:08:21 UTC

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

2024-10-09 23:08:22 UTC

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

2024-10-09 23:08:22 UTC

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

2024-10-09 23:08:23 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=303e766388b9965ce5ee40f01df921275fbd53da7ba3d729c8767c4d0de0ce8b

2024-10-09 23:10:14 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.';

2024-10-09 23:10:15 UTC

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

2024-10-09 23:10:15 UTC

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

2024-10-09 23:10:16 UTC

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