Namespace
library
Image / Tag
mongo:4.0.5-windowsservercore-1709
Content Digest
sha256:8ee09fa36e6383bd823fcfec8f5fb9cdec906895886addc56ce9017f564f5a6d
Details
Created

2019-01-22 12:30:39 UTC

Size

3 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

e2ac83cfee3350012a641405ce5ba5c3cffe3f8d1a0cd5e0eb3e332246a9cc20

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.0.5


Layers

[#000] sha256:5847a47b8593f7c39aa5e3db09e50b76d42aa8898c0440c70cc9c69747d4c479 - 70.71% (2.12 GB)

[#001] sha256:ee945370a9b4bb58ea63e33767041df2ecc306b6e73a231fe90d31980e26b05d - 27.13% (832 MB)

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

[#003] sha256:c44571cfb5d9f1875e19dbda26c907cb7ed8a64e2346bcca9c06f272ddd275d9 - 0.0% (1.18 KB)

[#004] sha256:4161aa6be1b8227823fc5ec0310bf3b0beb435e106ed1984e93ab1219ace635f - 0.0% (1.18 KB)

[#005] sha256:a27ea127c9125e46dcda467c5ba4bd2c4edaee672d9e3efe30c61d95cb4e5f8e - 0.0% (1.18 KB)

[#006] sha256:b46d58a307f599b09ca97fea46404107624f8ef0974e5f7c92c27a219fae63ac - 2.15% (66.1 MB)

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

[#008] sha256:8e595d03c3d5d6ee5dabc913335907202c6cf100cc8037bb6435a275ef74b75b - 0.0% (1.17 KB)

[#009] sha256:5116a8b952e4ec71960ee275f371725765fff73fc7d4d59a75dc77af1f6217e7 - 0.0% (1.17 KB)


History
2017-09-29 14:43:28 UTC

Apply image 10.0.16299.15

2019-01-03 04:08:43 UTC

Install update 10.0.16299.904

2019-01-22 11:52:03 UTC

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

2019-01-22 12:27:15 UTC

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

2019-01-22 12:27:16 UTC

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

2019-01-22 12:27:17 UTC

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

2019-01-22 12:30: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'); 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-01-22 12:30:36 UTC

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

2019-01-22 12:30:38 UTC

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

2019-01-22 12:30:39 UTC

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