Namespace
library
Image / Tag
mongo:6.0.12-windowsservercore-1809
Content Digest
sha256:651550a5fc9a0d5cc8e0fa1ee08057dace94ff3659ef9a381b945ef777d5d993
Details
Created

2024-01-11 00:09:45 UTC

Size

2.41 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

126024e5292da3470eb119d798d11862ce1f0472836bce7d3210dcb522b80aa3

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.12


Layers

[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 63.77% (1.54 GB)

[#001] sha256:9da94e8356538054b9b2e3023814100ffe07d42ee8f8dec0ad82a450371abd52 - 16.19% (400 MB)

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

[#003] sha256:ad8cde4e17cb781b45652d6079d4bc63a30313ee83baf60dfa887dba63ef7125 - 0.0% (1.27 KB)

[#004] sha256:8459cd2004f6521a829a870469291271095f5484deca5159b7db1005298a4595 - 0.0% (1.27 KB)

[#005] sha256:1937ab9df095127b757511239b8ec925f66eb099a2de2ac64f92324dd116fede - 0.0% (1.26 KB)

[#006] sha256:1965060d4b247288d1c6453f81915608c963503a89a5f0e0f7040dfeeb5aa335 - 20.04% (495 MB)

[#007] sha256:3b8e8096cf270f2f1eb4a46e0490ffcac22f8791c249aa5ec746745afd3d7d96 - 0.0% (1.27 KB)

[#008] sha256:2dbe31b49f859b45d444b6912cbb40c8d976840d7ae4aec12c6b62a1e5c75a61 - 0.0% (1.27 KB)

[#009] sha256:05918e0592943d2536b3d15b4e3f373a9d2ff107a9c2dd831d57592bff645d33 - 0.0% (1.28 KB)


History
2023-06-08 12:58:24 UTC

Apply image 10.0.17763.4499

2024-01-02 22:50:56 UTC

Install update 10.0.17763.5329

2024-01-11 00:07:36 UTC

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

2024-01-11 00:07:38 UTC

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

2024-01-11 00:07:39 UTC

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

2024-01-11 00:07:39 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=126024e5292da3470eb119d798d11862ce1f0472836bce7d3210dcb522b80aa3

2024-01-11 00:09:43 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-01-11 00:09:44 UTC

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

2024-01-11 00:09:45 UTC

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

2024-01-11 00:09:45 UTC

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