Tag

library/mongo:5.0.4-windowsservercore-ltsc2016
Content Digest: sha256:47d9152dca689a338145230c8f39676711362eb628f438bdba73b126e1950dce
Manifests
Details
Content Digest

sha256:7acd033e0a7c546b05ea44624b293692cf81abaef3573c888371473be3e6ca6f

Created

2021-11-16 02:20:36 UTC

Size

6.12 GB


Environment
MONGO_DOWNLOAD_SHA256

f44191d6e1f187ee6ff5404f6095f8c8f621bdaca56e54099fd4d2266f4cb60f

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.4-signed.msi

MONGO_VERSION

5.0.4


Layers

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

[#001] sha256:b07c368b7a04669b63c6c86a881be270ee967474a85892003b8695df3d0d5874 - 33.52% (2.05 GB)

[#002] sha256:f6f303e73635c7923a8c64f8938e7ba4c10210fd15a6ce63aa8a62d5a8ea8c0a - 0.0% (1.39 KB)

[#003] sha256:f53b664452f886654e03b260c4adc922f05f162c60fb3d09efce7a3ddf544457 - 0.0% (1.41 KB)

[#004] sha256:37a95e282746f86a23122519ab6296ab7373b1eee6762b0311627155d6fe3efb - 0.0% (1.34 KB)

[#005] sha256:767dc11eb6a92b555230ee4f8ba440d3bddae02c52ec1a340965dcc16d7ae12e - 0.0% (1.35 KB)

[#006] sha256:414340e6a34e0c08aa3e8c0c145510c51764b671f166afee62d86ad92b973769 - 4.55% (285 MB)

[#007] sha256:11599ebeefac25329f05ff99da8a1f745cf5133cd6df047033ca8e9b1b8b0479 - 0.0% (1.38 KB)

[#008] sha256:ed43ff5975b5b07b684e9fa23224f1f3cffbc44c3a7745c62c048627ac54125e - 0.0% (1.38 KB)

[#009] sha256:e6ca41e89afbde769a9f5d8fa0ebdd359175322e349b0a61aca8ad3198addfbb - 0.0% (1.39 KB)


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

Apply image 1607-RTM-amd64

2021-11-03 23:35:00 UTC

Install update ltsc2016-amd64

2021-11-10 14:32:27 UTC

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

2021-11-16 02:18:08 UTC

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

2021-11-16 02:18:09 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.4-signed.msi

2021-11-16 02:18:10 UTC

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

2021-11-16 02:20:31 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=Client,MiscellaneousTools,Router,ServerNoService' ); 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-11-16 02:20:33 UTC

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

2021-11-16 02:20:35 UTC

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

2021-11-16 02:20:36 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.