Namespace
library
Image / Tag
mongo:5.0.16-windowsservercore-1809
Content Digest
sha256:57c3e37680640f2cfeab7674ce72b619a3cfe895439c552ef5d1f4eab28f1489
Details
Created

2023-04-12 00:30:12 UTC

Size

2.22 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

2319542cffb08c1375d90189ba2eb90dc1a0e28bb88989af79c3a661bf1c499a

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.16


Layers

[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 71.62% (1.59 GB)

[#001] sha256:e9094c39c4b36a86359abb3da9e9d0d9c69b6930e9c7b308120310d43d63f693 - 15.24% (347 MB)

[#002] sha256:d81203863a516fb636d8e06e71cc938e6621b372bd98921ce87d23012f6c9e4c - 0.0% (1.35 KB)

[#003] sha256:a6b39d7b9c426ae83e3f029e3298a3852559e18a4750df0bbbd776ac95c21870 - 0.0% (1.38 KB)

[#004] sha256:0b4bb03bdcdb4c5f7b40995642d794199a04570c1604838edf3d31161216a6fb - 0.0% (1.39 KB)

[#005] sha256:674aed219fc96d55e283f4a9ece4522e0ff2bc7e2328dac927ed46144d31dee7 - 0.0% (1.39 KB)

[#006] sha256:69ac3135ca0c9a8558f328c435af36e0a39426a527ae80a96dcc44da184e0ff4 - 13.15% (299 MB)

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

[#008] sha256:66c005e7f4975508dd8413f70f01ea8263e2db55b68959a01f5f446ad07ff933 - 0.0% (1.28 KB)

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


History
2023-01-07 05:37:58 UTC

Apply image 10.0.17763.3887

2023-04-05 00:41:54 UTC

Install update 10.0.17763.4252

2023-04-12 00:18:38 UTC

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

2023-04-12 00:27:36 UTC

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

2023-04-12 00:27:37 UTC

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

2023-04-12 00:27:38 UTC

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

2023-04-12 00:30:09 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.';

2023-04-12 00:30:11 UTC

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

2023-04-12 00:30:12 UTC

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

2023-04-12 00:30:12 UTC

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