Namespace
library
Image / Tag
mongo:4.0.21-windowsservercore-ltsc2016
Content Digest
sha256:5ace68c9195e43d19229aca798be464fa2aaebd257e8d7cfa7702a849ba9841b
Details
Created

2020-12-09 23:25:27 UTC

Size

5.59 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

6dcb6a76e19e7bcbdc0d97155c29f50e0ab3f6bd6c6f77d4b9003ee3cd474ef0

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.21-signed.msi

MONGO_VERSION

4.0.21


Layers

[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 67.8% (3.79 GB)

[#001] sha256:d2696dc2a40dc121fc5acaa02242817ac416c69d17c113e2ac5136d21a3942d8 - 28.3% (1.58 GB)

[#002] sha256:b5a79f8be42bf1c358ccc82f32c1481de95c393ef97e712a321c1440d132fda9 - 0.0% (1.12 KB)

[#003] sha256:3fbd2902194b2e366b33fa4a852f5ef130fe1ae7f480f7c618ed7969c75df647 - 0.0% (1.1 KB)

[#004] sha256:e5879501e3bcb59d756cd466c7c6c4039f8a6ec0b5c155b06430df9af667175f - 0.0% (1.1 KB)

[#005] sha256:c70f78c0e1812fce1bc7dc50ab8a8a98855d7619e76abf3a68beaa680a83636f - 0.0% (1.12 KB)

[#006] sha256:aaa686b52bb40bee03966759d5f69524dcb83c5216aa24cae84da83062a958d3 - 3.9% (223 MB)

[#007] sha256:42ad31d61cfa105370d37727b6dd28df4bec139ac8ce28d8dee65d16e12985b0 - 0.0% (1.12 KB)

[#008] sha256:9bd484d5d1733c457d41b2e1c7b5332904beb6a22f7fd1ae62258c934791a39e - 0.0% (1.1 KB)

[#009] sha256:1e1bf7dc6f182a071516a88f379f7a307a6a59fd86f868b62e8610a30c2ca46f - 0.0% (1.11 KB)


History
2016-11-19 17:05:00 UTC

Apply image 1607-RTM-amd64

2020-12-02 17:42:00 UTC

Install update ltsc2016-amd64

2020-12-09 14:41:21 UTC

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

2020-12-09 23:21:19 UTC

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

2020-12-09 23:21:20 UTC

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

2020-12-09 23:21:21 UTC

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

2020-12-09 23:25:24 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=ServerNoService,Client,Router,MiscellaneousTools,MonitoringTools,ImportExportTools' ); 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.';

2020-12-09 23:25:25 UTC

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

2020-12-09 23:25:26 UTC

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

2020-12-09 23:25:27 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