Namespace
library
Image / Tag
mongo:4.2.16-rc0-windowsservercore-1809
Content Digest
sha256:fd69933760b160c050c55eb531df209d4cbe68263b01ab51ba7901b2f47aeb1c
Details
Created

2021-09-02 00:17:03 UTC

Size

2.73 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

64f3a496487d964d95702188a54d5a92b44009a246711bcaf0dcde5b6229306b

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.16-rc0-signed.msi

MONGO_VERSION

4.2.16-rc0


Layers

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

[#001] sha256:c67ded6868b61d392a0c096f911563fd6bc0bc3ed4fe401d077b3718a1b0cdaf - 33.03% (923 MB)

[#002] sha256:985da5cbc0735e1c422e766af23125ba345f431cb337ea43ec32298d0bb8e4ea - 0.0% (1.26 KB)

[#003] sha256:0b72609f571de12f08fc53b8c7cd924463a03f4e2e75c6d652db83b4c69e91fa - 0.0% (1.41 KB)

[#004] sha256:3438f8b882cf2efb62449986c73ab0e92e2c31256154d4c815aed26a7f736134 - 0.0% (1.39 KB)

[#005] sha256:9fc5e0f957d7ad49783d1f4fedbd35e57e5b3c7c3db771365c88fde731d54683 - 0.0% (1.37 KB)

[#006] sha256:da5e2179d9f6de83bc68bc75f3c2f9f05d08d62f52caba2ded2bf9df0f012c6a - 8.31% (232 MB)

[#007] sha256:1b2a608078fb0afa65ebaa29d4c9ff41c5d8a0080ffc3b28fbaa73f519b0ddbc - 0.0% (1.39 KB)

[#008] sha256:5c3d5f4eb3005ba7fe0b3deeb2c67bb87618745608d65a7a7db004ca63a8c2e4 - 0.0% (1.4 KB)

[#009] sha256:9dbdc8f2e75d2e2c92d2a942bc99682339f8d83173b3c5996b8610228b108e70 - 0.0% (1.4 KB)


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

Apply image 1809-RTM-amd64

2021-08-05 19:44:34 UTC

Install update 1809-amd64

2021-08-25 13:46:35 UTC

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

2021-09-02 00:14:49 UTC

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

2021-09-02 00:14:50 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.16-rc0-signed.msi

2021-09-02 00:14:51 UTC

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

2021-09-02 00:16: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-09-02 00:17:01 UTC

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

2021-09-02 00:17:02 UTC

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

2021-09-02 00:17:03 UTC

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