Namespace
library
Image / Tag
mongo:4.2.18-rc0-windowsservercore-ltsc2022
Content Digest
sha256:25392b989aa4d647adebf576d7bea14c74d95d2ba91d928554b93cd800795c20
Details
Created

2021-12-18 08:37:55 UTC

Size

2.31 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

52d2c3c59b2d3b508441538956f6604a066ae959912299b7dd9cc8a33f65696f

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.18-rc0


Layers

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

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

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

[#003] sha256:3e6f2f2c7c4c5be37c1ddf715113b11a85215714c2221cb721452e9dd34e447e - 0.0% (1.39 KB)

[#004] sha256:de575b808a3475e3a28e37e72ab546c0307e46d0ff1708a966e4f0e135658c7d - 0.0% (1.41 KB)

[#005] sha256:6a8f0360e7f9bccb061a068740ca03fcca59303d00b5324f394acc8adcc19fd4 - 0.0% (1.37 KB)

[#006] sha256:aad5807ddc87937f5d29e0ac6b41d2da30d16ba4efc080ee65ec4df29c01e91d - 11.51% (272 MB)

[#007] sha256:881f10521087e5662117878a68c0bff4111907991e996ae9337aefbf34b62120 - 0.0% (1.42 KB)

[#008] sha256:890d9469b09516abdcefa609aad41bae25b6fc7a66094582bf5609d42a6dc7f6 - 0.0% (1.4 KB)

[#009] sha256:f890af86b7af455256d459960a084365d5de677f234f03bc594db0c153268b97 - 0.0% (1.41 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:36:08 UTC

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

2021-12-18 08:36:09 UTC

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

2021-12-18 08:36:10 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=52d2c3c59b2d3b508441538956f6604a066ae959912299b7dd9cc8a33f65696f

2021-12-18 08:37: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:37:53 UTC

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

2021-12-18 08:37:54 UTC

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

2021-12-18 08:37:55 UTC

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