Namespace
library
Image / Tag
mongo:4.0.5-windowsservercore-1803
Content Digest
sha256:7c71d1c6d8e830651bbb9e1de90bb6feb7131be420443b312e8300c9935b758c
Details
Created

2019-01-22 12:34:16 UTC

Size

2.16 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:d9e8b01179bfc94a5bdb1810fbd76b999aa52016001ace2d3a4c4bc7065a9601 - 71.69% (1.55 GB)

[#001] sha256:80c309c8f9e2a929c92fe88fafde882006a56d421e9cb306b5a55baefe52c4b6 - 25.31% (559 MB)

[#002] sha256:3902d93500fc2da689f060218ed87190e009c31aebb04140cfa60bfa39c15ace - 0.0% (1.17 KB)

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

[#004] sha256:05b57ffc42586d7d7f3ab69a017592d2257e7e09d82f69f89db660c756c04dbc - 0.0% (1.18 KB)

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

[#006] sha256:6d46e0f22763f37cf19dacb61bd3e92679024df64106051b85c0546e49865270 - 2.99% (66 MB)

[#007] sha256:3fe36d622117587477b0732d94b423c409037a84dc9f843a1e8630b96f0f43c9 - 0.0% (1.18 KB)

[#008] sha256:78c941d182e6967bdedda633eff1311c2eb95411d7f26b3d7b039eb95c2b8004 - 0.0% (1.17 KB)

[#009] sha256:46529001b44e13bb92c0e030b548bf5b54369df315328006bd7fee9134aeea27 - 0.0% (1.16 KB)


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

Apply image 10.0.17134.1

2019-01-04 22:40:00 UTC

Install update 10.0.17134.523

2019-01-22 12:30:57 UTC

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

2019-01-22 12:30:59 UTC

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

2019-01-22 12:31:00 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:31:01 UTC

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

2019-01-22 12:34:10 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:34:12 UTC

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

2019-01-22 12:34:14 UTC

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

2019-01-22 12:34:16 UTC

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

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete