Namespace
library
Image / Tag
mongo:5.0.6-windowsservercore-1809
Content Digest
sha256:869e9b785992048a737009ce3793bd6db01cd1070b604727ac1fdc76c1b4f446
Details
Created

2022-03-08 20:12:39 UTC

Size

2.81 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

f6e2bc600b2b8b0251a9e99d84fefc43c66e45deb5793ed8e65cd12a318c76ee

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.6


Layers

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

[#001] sha256:0a6173b79e25f2ebc0ed51b0ac32a6f65ca5a3bbfcbeab8b74a6c24324121dea - 33.03% (951 MB)

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

[#003] sha256:26bfad07f15db43b227c8afce67ae0493969ac92038e2a894e898907e7947193 - 0.0% (1.39 KB)

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

[#005] sha256:cb097f7db09d59e01e891468bf5665fb6bb598d278034764d03a71940cfe1ef6 - 0.0% (1.38 KB)

[#006] sha256:fd45930aa8f21dc84cd5e6f307bf7878f0a977de331d80aa26fbbbeda491366c - 10.05% (289 MB)

[#007] sha256:1f186fdafa64c9272d66bade1484a9e3797e479740a5dc38f8ec50b473c16223 - 0.0% (1.37 KB)

[#008] sha256:4bf13ed17f4ebdb33ad70aa74cfc746f91db87e62e9156b705746965cd02c3b6 - 0.0% (1.4 KB)

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


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

Apply image 1809-RTM-amd64

2022-03-03 15:05:04 UTC

Install update 1809-amd64

2022-03-08 20:10:01 UTC

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

2022-03-08 20:10:02 UTC

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

2022-03-08 20:10:03 UTC

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

2022-03-08 20:10:04 UTC

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

2022-03-08 20:12:34 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-03-08 20:12:36 UTC

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

2022-03-08 20:12:38 UTC

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

2022-03-08 20:12:39 UTC

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