Namespace
library
Image / Tag
mongo:5.0.0-windowsservercore-1809
Content Digest
sha256:b6be4840e58e4e222837daa8beee4d4b183a758fb2f60cad30da9d21a73cff60
Details
Created

2021-07-14 01:14:11 UTC

Size

2.77 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

26920cf86cf1eea8acbf395ad12b0b94631ca4175dc47588a5dc4d9221f014cd

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.0


Layers

[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 57.74% (1.6 GB)

[#001] sha256:f143c6fed32d477c35b660b2e108ea62e3593c03e44bd9ced208ce52b26b0841 - 32.5% (922 MB)

[#002] sha256:adcec6ff907307155c0652222cc9b95a0cc964d4c371e02767e72a5c90472192 - 0.0% (1.39 KB)

[#003] sha256:91ba00b69bf586531acf7efc20fc81dc4999d814cf0569cc072e1302492e3f11 - 0.0% (1.39 KB)

[#004] sha256:c62d00ee3059d4a1d94509843dca7851a95b814976100864963b647f52607358 - 0.0% (1.4 KB)

[#005] sha256:357882103d154942b3e8762c0dedc4c830de99023e0ecb345fb8fc9fbdeb4dbc - 0.0% (1.36 KB)

[#006] sha256:b3a8938c18426de8f03985c6d625d449b206a37bb87d01d3b00cd6c6fdd57aa9 - 9.76% (277 MB)

[#007] sha256:86bbcf6b6079d1ac7b75f7374484401ce5170d6176044d1f158ebcef72c0ba92 - 0.0% (1.37 KB)

[#008] sha256:766e672045b350b08cf7fcd9b8a6f01ab8af895b5cdfd81871e314ccb4d28efe - 0.0% (1.4 KB)

[#009] sha256:5ec691ab2f20fd8c0fac35aeecf30f62d30572db0b0966f5338fc68386e7e266 - 0.0% (1.35 KB)


History
2020-05-07 05:09:25 UTC

Apply image 1809-RTM-amd64

2021-07-06 20:34:18 UTC

Install update 1809-amd64

2021-07-14 01:07:27 UTC

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

2021-07-14 01:07:30 UTC

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

2021-07-14 01:07:34 UTC

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

2021-07-14 01:07:37 UTC

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

2021-07-14 01:13:59 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.';

2021-07-14 01:14:03 UTC

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

2021-07-14 01:14:07 UTC

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

2021-07-14 01:14:11 UTC

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