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

2021-12-18 08:47:56 UTC

Size

2.3 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

31769763eb709d2dee9f4f889846400a665c310742ff7e04d04b4dd8da33069b

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.17-signed.msi

MONGO_VERSION

4.2.17


Layers

[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 50.58% (1.17 GB)

[#001] sha256:4d1d74adc6a92e44b3cd592ec9459f1fff926eaf6fc20bb7526360bec71aefc0 - 37.95% (896 MB)

[#002] sha256:3c1de582c6c9c68cde1be202b853d6f5b2dae10020d41c1402bdaede850c77e8 - 0.0% (1.29 KB)

[#003] sha256:41bd9ea4f9004a9ac7190c0d9fcc7bd8294af4c1b9afdd987d2b34dae90b211b - 0.0% (1.36 KB)

[#004] sha256:bd6921a35633aedf4afb77309c0e9bb2fed03c205c467b916fead50799cb18fa - 0.0% (1.36 KB)

[#005] sha256:5b93a96ee2e42d7642e038c66c1c73927c6d4144827cfc28992be617f6888cb6 - 0.0% (1.4 KB)

[#006] sha256:19f56545011cf2e18a348454f7e1399aed5be7d5319b491ad12beb12577c69b0 - 11.48% (271 MB)

[#007] sha256:f2fc999dbcd4c35c139cadd92a317d87cf09f7aa71659dfab56f89ec62ae008a - 0.0% (1.38 KB)

[#008] sha256:3d0f075c5fa6744015f26bc1a5c122b38497cfc305c968d8a6b630dc781d31d1 - 0.0% (1.39 KB)

[#009] sha256:17d93e03f17106e7438ad23625429488bf4669c566a84f37989f9ab13acde27f - 0.0% (1.39 KB)


History
2021-05-08 09:40:24 UTC

Apply image 2022-RTM-amd64

2021-12-08 01:54:07 UTC

Install update ltsc2022-amd64

2021-12-18 08:07:56 UTC

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

2021-12-18 08:46:12 UTC

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

2021-12-18 08:46:13 UTC

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

2021-12-18 08:46:14 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=31769763eb709d2dee9f4f889846400a665c310742ff7e04d04b4dd8da33069b

2021-12-18 08:47:52 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,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.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.';

2021-12-18 08:47:53 UTC

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

2021-12-18 08:47:55 UTC

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

2021-12-18 08:47:56 UTC

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