Namespace
library
Image / Tag
mongo:4.0.22-windowsservercore-ltsc2016
Content Digest
sha256:2cad94ad5bfa4de17af623b27e496f19de8480ea685d5bca15e08d9fd7a05be0
Details
Created

2021-02-09 20:36:41 UTC

Size

5.62 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

e2145277031424a7e72084f94d8014146a119e3dce284da5140f66a113c5e473

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.0.22


Layers

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

[#001] sha256:62c48323ed8ac695b8cbe0ecedcc28ba185a234673ad9241df2b151dd00f9181 - 28.6% (1.61 GB)

[#002] sha256:ac4a230905430e1aea27172a9432f576cc4a530e72bea516a2b304d2b7e9c101 - 0.0% (1.32 KB)

[#003] sha256:75da11e16a5960a137c7024c7083e244d6f1b2b0c558a1bc3115dc5c50df8640 - 0.0% (1.33 KB)

[#004] sha256:1ee8a1f3ff12d714573b0084dfda63e06291fd409cb630180740496b6233e281 - 0.0% (1.3 KB)

[#005] sha256:0c55bde6d7e9c64a3881511f75f689f1cc7101714eedebc4f58c74d0710393cc - 0.0% (1.37 KB)

[#006] sha256:22a6ef759d2862a90f027f653ea50517d45bc60ae35cac50fa21fde543102565 - 3.91% (225 MB)

[#007] sha256:c9a6e7732e4d26069188ef4691d15645801c0e87fb74cfcf170d3b3bf9dec060 - 0.0% (1.34 KB)

[#008] sha256:43624d883d63ceb2be5b60763cd250093163b891a801815e00ca8bcdb421a90a - 0.0% (1.39 KB)

[#009] sha256:861e7bc2ce19561a897abd3bff9d06b742af0311451b4dacd3429c14d385ac45 - 0.0% (1.32 KB)


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

Apply image 1607-RTM-amd64

2021-01-27 18:11:00 UTC

Install update ltsc2016-amd64

2021-02-09 20:28:50 UTC

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

2021-02-09 20:34:02 UTC

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

2021-02-09 20:34:03 UTC

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

2021-02-09 20:34:03 UTC

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

2021-02-09 20:36:38 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.';

2021-02-09 20:36:40 UTC

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

2021-02-09 20:36:40 UTC

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

2021-02-09 20:36:41 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