Namespace
library
Image / Tag
mongo:4.2.24-rc2-windowsservercore-ltsc2022
Content Digest
sha256:2979469a3fde5c2c846ebecc961a484957044a33cf75347857024a9f566ff6bb
Details
Created

2023-02-17 23:36:00 UTC

Size

1.83 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

1033072c6bf5f6deb0af0afefba6a575a0edc827d7787f115401ce6f0c831206

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.24-rc2


Layers

[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 70.46% (1.29 GB)

[#001] sha256:d1d015a9e7adea898d81486dce8b513b0e9cbeca30904cac18c3ea98ab3be7a6 - 14.91% (280 MB)

[#002] sha256:028996d5eeb6d70e4f35b4acb3bafeee3f326bb40438911de597cad432ffdbc1 - 0.0% (1.32 KB)

[#003] sha256:2f3c4332f0031c980d83588d4684ae07712a62275e400ad4b59f39419e942b11 - 0.0% (1.41 KB)

[#004] sha256:7dc50d4d81195ab6c736e3f1acf3afc3a8f5db66dbdf7d0c8dc9a645b4865578 - 0.0% (1.38 KB)

[#005] sha256:dcd1de973772fa8614d93e213e12c82f816c70df082166d9f6db562aa0b45a5d - 0.0% (1.35 KB)

[#006] sha256:d08aa723c0402ab79b36c32977aa1e063f5d4ba8e4378ebcac2275169c776744 - 14.63% (274 MB)

[#007] sha256:eb4fd355b9c010a731a34f44665f06f859dcce7e2bb4e0c70a2ba0462d5e8fd2 - 0.0% (1.39 KB)

[#008] sha256:eb49cb95c10944e5721454383fc9e85c01d0605f7639223904b408366a962316 - 0.0% (1.41 KB)

[#009] sha256:72f1203fa006cf0b3972664a30a2baa5a4aabf9883e219a86c2eeabba5493c86 - 0.0% (1.39 KB)


History
2023-01-06 23:47:40 UTC

Apply image 10.0.20348.1487

2023-02-07 11:42:22 UTC

Install update 10.0.20348.1547

2023-02-16 00:38:08 UTC

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

2023-02-17 23:32:58 UTC

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

2023-02-17 23:32:59 UTC

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

2023-02-17 23:33:00 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=1033072c6bf5f6deb0af0afefba6a575a0edc827d7787f115401ce6f0c831206

2023-02-17 23:35:56 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\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.';

2023-02-17 23:35:58 UTC

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

2023-02-17 23:35:59 UTC

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

2023-02-17 23:36:00 UTC

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