Namespace
library
Image / Tag
mongo:5.0.8-windowsservercore-1809
Content Digest
sha256:c538b5ced4bb5dcc2c0c706673e038c8254e55f2f340bd7999ff2eeb5d136c17
Details
Created

2022-05-11 16:38:57 UTC

Size

2.62 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

bb8d6bf77df675ef3c89eeded536fc9dcc454f462ef728da53efee7a2c9eb80f

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.8


Layers

[#000] sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93 - 66.77% (1.75 GB)

[#001] sha256:8b534d64a7c337eb8a23b425e4f598cd3e7407ddf8c7b2f714d1e7f7ed6a04be - 22.3% (598 MB)

[#002] sha256:b34adcbd607b6c175a7c7a819fecbbfd53899678f53f169f2b4504070ec6b0ab - 0.0% (1.25 KB)

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

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

[#005] sha256:8009fd656396aa220eb4ee615063e5f79d1ec0cf60d0f7a03febfc578e8d4b75 - 0.0% (1.36 KB)

[#006] sha256:cbf7a299045301e3ddf47b94cca39cc333c685463e4b39123a442cbd6c34351c - 10.94% (293 MB)

[#007] sha256:e99cf82bce6dd3c1656182ac51e1ce713d935a5ef065f9b59b114d509fb1417a - 0.0% (1.38 KB)

[#008] sha256:4329af9f844d211897916dad41bfe7753864b40e210260ad4287339cb82b1352 - 0.0% (1.38 KB)

[#009] sha256:c89bb3ca933a58854002c046d399fb735c26449a2471def1f9c080cc6f0fac65 - 0.0% (1.37 KB)


History
2022-04-22 01:27:13 UTC

Apply image 10.0.17763.2803

2022-05-05 17:03:24 UTC

Install update 10.0.17763.2928

2022-05-11 12:42:26 UTC

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

2022-05-11 16:36:49 UTC

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

2022-05-11 16:36:50 UTC

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

2022-05-11 16:36:51 UTC

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

2022-05-11 16:38:53 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\mongo.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.';

2022-05-11 16:38:54 UTC

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

2022-05-11 16:38:55 UTC

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

2022-05-11 16:38:57 UTC

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