Namespace
library
Image / Tag
mongo:6.0-windowsservercore-1809
Content Digest
sha256:e0e2eba9785ba50d876e0aafb309586d9adefb5262fa750ff0fb3fbcedd5e40d
Details
Created

2025-05-14 21:03:01 UTC

Size

2.52 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

805c9b5d6828a8b015e2be2028dca5587437038a17a345d0dfd06537ec1c3f40

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.23


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 63.46% (1.6 GB)

[#001] sha256:a95a939635fd6bec8c1562dcdbdde2fdb64095d1be9873313939c878db6f7279 - 17.1% (442 MB)

[#002] sha256:ee8315397b64b267cf6dbd6961c9ce3026482b676a4c7b6e071795a19316da08 - 0.0% (1.26 KB)

[#003] sha256:9213c0d0ec1bfa7885558fb7856d9b2563854b47334377f2175239ced72a4e2b - 0.0% (1.26 KB)

[#004] sha256:648ed9f3e746b5313156ac989127824d9daa0b622bb9357224e5db3e70b6d40a - 0.0% (1.26 KB)

[#005] sha256:ae00cfe11e73c4e749212e9ae84d4b96aa5b094d6a041aab755e8dcc0b93a9ff - 0.0% (1.36 KB)

[#006] sha256:2e58636c028e6c301dc097bb58459d624a20c31fef63fad2cfb939c48663535a - 19.44% (503 MB)

[#007] sha256:11aa36d17c7ae608bc67dc790875a09b67f7d6cef69a41715b57809b53c9db3d - 0.0% (1.26 KB)

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

[#009] sha256:88a1c7c55a27d78f1ca732d6294d511c886472e033a42cec1463aaa9f0a03841 - 0.0% (1.25 KB)


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2025-05-09 13:51:15 UTC

Install update 10.0.17763.7314

2025-05-14 21:01:25 UTC

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

2025-05-14 21:01:27 UTC

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

2025-05-14 21:01:28 UTC

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

2025-05-14 21:01:28 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=805c9b5d6828a8b015e2be2028dca5587437038a17a345d0dfd06537ec1c3f40

2025-05-14 21:02:51 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-05-14 21:02:52 UTC

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

2025-05-14 21:02:59 UTC

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

2025-05-14 21:03:01 UTC

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