Namespace
library
Image / Tag
mongo:4.0.9-windowsservercore-1803
Content Digest
sha256:41df769d39bebebf40baf3a9c33ef8e7e1a5645fbcdc060e8027f6e7052ceb63
Details
Created

2019-05-22 16:40:51 UTC

Size

2.22 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

35909b5204abb4fbf68796b9c99747b29831c0d38ab21e1c3654845a8eb28090

MONGO_DOWNLOAD_URL

https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.9-signed.msi

MONGO_VERSION

4.0.9


Layers

[#000] sha256:d9e8b01179bfc94a5bdb1810fbd76b999aa52016001ace2d3a4c4bc7065a9601 - 69.63% (1.55 GB)

[#001] sha256:efe507359c3c7c22852c567a5a9b6b88cbc668a5acaa89cc859086851c871ef1 - 27.01% (614 MB)

[#002] sha256:a67a6b4a761b56344d5ca197119cbfe6ffbacaac6bf5e860ec3a2ea827c81f88 - 0.0% (1.18 KB)

[#003] sha256:b1612dd936f3c570bebd3ef714b8003f1227d06fe072fad4f175e247f84c7153 - 0.0% (1.17 KB)

[#004] sha256:9329800f69983fd7e9430cc2789059ae37f07ed9c937a46f2094629ec9413c2c - 0.0% (1.18 KB)

[#005] sha256:aa1a3014bc98921e2e16dd13e3ac2047c212e1c4ba808b024733388e4228c529 - 0.0% (1.17 KB)

[#006] sha256:da4ba645b37ee315d3b32aaea6e515c2336ee29e7e764eac63cb3c5ef099afc3 - 3.36% (76.4 MB)

[#007] sha256:a769879c030010c00e080f36693f5ed2ec4dd80b019f9f89fd09a75b901e7563 - 0.0% (1.17 KB)

[#008] sha256:f0848bb9bdff1400ee550f7429c0524bc7614b50f4cfe50fca282a38685a622a - 0.0% (1.18 KB)

[#009] sha256:49a62c5097e38b062e02f86dfb9f8991afd73776daab6394ea56e5d511b69270 - 0.0% (1.17 KB)


History
2018-04-12 09:20:54 UTC

Apply image 1803-RTM-amd64

2019-05-18 18:41:13 UTC

Install update 1803-amd64

2019-05-22 16:37:27 UTC

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

2019-05-22 16:37:28 UTC

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

2019-05-22 16:37:29 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.9-signed.msi

2019-05-22 16:37:31 UTC

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

2019-05-22 16:40:46 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'); 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', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=all' ); $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:\mongodb\bin\*.pdb -Force; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2019-05-22 16:40:48 UTC

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

2019-05-22 16:40:50 UTC

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

2019-05-22 16:40:51 UTC

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