Namespace
library
Image / Tag
mongo:5.0.24-windowsservercore-1809
Content Digest
sha256:08be43346ec6128c0a6b105ae3a3769e782bad8c3fcd7563a93935fdbd873ccd
Details
Created

2024-02-14 20:02:10 UTC

Size

2.23 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

a83af50b58ce226c14235466ca5f88c4d5c40002cb8470118b5c8c42a6a27dac

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.24


Layers

[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 68.94% (1.54 GB)

[#001] sha256:dda007680e5cddfaf6f5428f70f8c514ac0b9dd099972b7d475cce4c5c899558 - 17.95% (410 MB)

[#002] sha256:221fd5943321c7410203a10402536202c1dbe513e1353f303c2dc180543e2b07 - 0.0% (1.27 KB)

[#003] sha256:2f6efd9cd672bda5fd0d6e4900907bfe9aafcacfcfe4f7e5d912f160a997590c - 0.0% (1.27 KB)

[#004] sha256:1ce9c35e4093b63acb7d96d82126d4aea3a80923e043938059dff2b00b8b2ed4 - 0.0% (1.26 KB)

[#005] sha256:3059f424b1d3976ad5b16608df17a6de5708ed93af7b623699feebd6724a9002 - 0.0% (1.27 KB)

[#006] sha256:df39e171f2fde8299c3fae3837b09aab11499d1ead220a5d91a506e6161a5428 - 13.11% (299 MB)

[#007] sha256:942fd38c2c8082d83f0d9c5075e23fa22855acfa154bb5e37e72f560f3323c80 - 0.0% (1.27 KB)

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

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


History
2023-06-08 12:58:24 UTC

Apply image 10.0.17763.4499

2024-02-04 04:14:09 UTC

Install update 10.0.17763.5458

2024-02-14 20:00:46 UTC

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

2024-02-14 20:00:47 UTC

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

2024-02-14 20:00:48 UTC

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

2024-02-14 20:00:49 UTC

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

2024-02-14 20:02:06 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 20:02:08 UTC

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

2024-02-14 20:02:09 UTC

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

2024-02-14 20:02:10 UTC

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