Namespace
library
Image / Tag
mongo:4-windowsservercore-ltsc2022
Content Digest
sha256:c8bcff0161905d7c0b77cf97335048976afa93f2a26164b698b26e80f6284280
Details
Created

2024-04-10 00:02:39 UTC

Size

2.09 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

1b4803a76653736297a96a6232774d0ce869162797ee7b628dfaecac9b36d3b5

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.4.29


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 61.83% (1.29 GB)

[#001] sha256:197484daab96ebaf9683bc9230fb0043a8780d2afef249baa386f372a548b76a - 27.2% (582 MB)

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

[#003] sha256:985277152e59b7c0f9855d4c795b73a93077c9bee6231bc6beae66bfe1dc4da8 - 0.0% (1.26 KB)

[#004] sha256:5a0ff079f893d3d87809c4a56211f9a9cbc6f689cb867b770d4a224882483148 - 0.0% (1.27 KB)

[#005] sha256:10f369bbb888fded50f488a2d3f84e229e8cf8635c322e445605b5052d5a0b3d - 0.0% (1.27 KB)

[#006] sha256:f3c95d78b0eabf7287ab9edf0bcaa8eb526fe0898ca5bf57ecb25e19e16c4cbf - 10.98% (235 MB)

[#007] sha256:9652980739eecc1860554ad1a60826bca64a6213bae6d67ee83c6bb84a13607a - 0.0% (1.26 KB)

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

[#009] sha256:aef37f4127a40281ae875512fbfeb57d48b7d0889ac57be24e0d854bd6d7337f - 0.0% (1.26 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2024-04-05 09:25:01 UTC

Install update 10.0.20348.2402

2024-04-10 00:01:45 UTC

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

2024-04-10 00:01:46 UTC

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

2024-04-10 00:01:47 UTC

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

2024-04-10 00:01:48 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=1b4803a76653736297a96a6232774d0ce869162797ee7b628dfaecac9b36d3b5

2024-04-10 00:02:33 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=Client,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 ' mongo --version'; mongo --version; 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-04-10 00:02:36 UTC

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

2024-04-10 00:02:38 UTC

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

2024-04-10 00:02:39 UTC

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