Namespace
library
Image / Tag
mongo:5.0.23-windowsservercore-1809
Content Digest
sha256:9ea988beb5f24983bd6a18ee567160c4feae1b2d41cdeb143a538b247bdb0742
Details
Created

2024-01-11 00:13:56 UTC

Size

2.22 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

458663972f8c528dcd249e6ef21ce77aac3301a14214089b2099283b2135da37

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.23


Layers

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

[#001] sha256:9da94e8356538054b9b2e3023814100ffe07d42ee8f8dec0ad82a450371abd52 - 17.58% (400 MB)

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

[#003] sha256:443e772183bde9cc38bd899130debf9338956c7efbe414fd851e696cc0cc1969 - 0.0% (1.27 KB)

[#004] sha256:065f05564bac9f6bc9732128c200d2c10955fac5bd4d942636d270bd2670c8f6 - 0.0% (1.33 KB)

[#005] sha256:92c95938d027333dea1046cf71c578554e73b9e9c5994b958daf7c2f82de8a7a - 0.0% (1.26 KB)

[#006] sha256:33ba8dfc8a70c6c9cee7407aab356544d44818a561e0c959bb50d8cc1b66fda2 - 13.17% (299 MB)

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

[#008] sha256:0f4678eed70e33bd034ab3079ca56422b6bd0ed1973493abfe5f31a5b4ea2bca - 0.0% (1.27 KB)

[#009] sha256:a036fe3bc5d25bb47ce9ec43a2e7704af266d1cdb2abccbef415dcaec8ca8258 - 0.0% (1.27 KB)


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

Apply image 10.0.17763.4499

2024-01-02 22:50:56 UTC

Install update 10.0.17763.5329

2024-01-11 00:12:04 UTC

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

2024-01-11 00:12:05 UTC

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

2024-01-11 00:12:05 UTC

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

2024-01-11 00:12:06 UTC

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

2024-01-11 00:13:50 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-01-11 00:13:52 UTC

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

2024-01-11 00:13:55 UTC

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

2024-01-11 00:13:56 UTC

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