Namespace
library
Image / Tag
mongo:4.4.28-windowsservercore-ltsc2022
Content Digest
sha256:affb96ae64586c83d0bb1a2bc47ab45ee195d1323e673f8af0058557403d685b
Details
Created

2024-02-14 21:03:26 UTC

Size

2.01 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

406d5f9411419c0fbe9174462e2af29760ad32b877845b42ec77592acba02a36

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.4.28


Layers

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

[#001] sha256:855fa6b82f2f8fea22646f0d4aa228ea8cbb8bc562afd14a163a8f3d0eb010e1 - 24.21% (498 MB)

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

[#003] sha256:f4427803c2455f5fa964a281b8a36337d1a7886ab0a7d96c5ec8d283375b4846 - 0.0% (1.28 KB)

[#004] sha256:8992c58470705235838e8dd2db453cff82e2a91166d4d031f7051f1d36837acc - 0.0% (1.26 KB)

[#005] sha256:ca683775a5a0661b59b0144057651c767050e4dd6dda7ce4fa8cff38a0c3a58c - 0.0% (1.29 KB)

[#006] sha256:2d93e05ea6a7754631b510381cab299a5237d0bc0b00966c16cb14d0bca5588f - 11.4% (234 MB)

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

[#008] sha256:de46e85d44ff4eb6fedeb1997500b7288177ce08faab377dae44781b501ddc32 - 0.0% (1.26 KB)

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


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

Apply image 10.0.20348.1787

2024-02-07 06:55:59 UTC

Install update 10.0.20348.2322

2024-02-14 21:02:15 UTC

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

2024-02-14 21:02:16 UTC

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

2024-02-14 21:02:17 UTC

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

2024-02-14 21:02:18 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=406d5f9411419c0fbe9174462e2af29760ad32b877845b42ec77592acba02a36

2024-02-14 21:03:20 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-02-14 21:03:23 UTC

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

2024-02-14 21:03:24 UTC

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

2024-02-14 21:03:26 UTC

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