Tag

library/mongo:5.0.5-windowsservercore-1809
Content Digest: sha256:e33ee1340178d116377b7c156cc66c16d3042148099805a8cd911595258c7677
Manifests
Details
Content Digest

sha256:b85d3f6b2fad62aa880cb15f268e45bc410c542e20dd2f509134cb8618d53514

Created

2022-01-24 23:21:53 UTC

Size

2.8 GB


Environment
MONGO_DOWNLOAD_SHA256

a791d7197849516381b3dc5b2ebb988432b95b52e347a3ce3d70d026d108886a

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.5


Layers

[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 57.12% (1.6 GB)

[#001] sha256:567fd00846e9a9f44eea5925b497356dda00fe89b8335d2a3b2a8b9d84b0bb69 - 33.07% (949 MB)

[#002] sha256:1e63a09e013659f9cb51a44694cf1487fd0ea2ae5528ca387357386508f2b93c - 0.0% (1.41 KB)

[#003] sha256:4c48d051dd16471a0816c25274185f26a59275331e3db0a935a4b345e30aa076 - 0.0% (1.39 KB)

[#004] sha256:418a5b30b187b4e3b16adcc39b8d3b8d24497158ca115a1357e29a7b230c900e - 0.0% (1.39 KB)

[#005] sha256:c2271700cb1ae5eb2824a1afd826e2386c1d3b927ec24a41fd0cf159b53f7b69 - 0.0% (1.38 KB)

[#006] sha256:dfe8a27163aa447ec423a9b0afdc4f866a2509b684fa326a0dd9d4bb8f130867 - 9.81% (281 MB)

[#007] sha256:27e98a3339ea3647335cbbbcfc77e4c26b28e1659595d9b485e6c1a373c2554f - 0.0% (1.38 KB)

[#008] sha256:012eab6931802a0d985e4a2187b656996827f015c17569aea5615842da276e3d - 0.0% (1.35 KB)

[#009] sha256:a14d6dab973c4e39575aba2f6f370a7e55994600418b2f7bec71445e0df969d2 - 0.0% (1.37 KB)


History
2020-05-07 05:09:25 UTC

Apply image 1809-RTM-amd64

2022-01-18 01:52:23 UTC

Install update 1809-amd64

2022-01-24 23:18:10 UTC

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

2022-01-24 23:18:12 UTC

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

2022-01-24 23:18:13 UTC

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

2022-01-24 23:18:14 UTC

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

2022-01-24 23:21:47 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.';

2022-01-24 23:21:50 UTC

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

2022-01-24 23:21:51 UTC

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

2022-01-24 23:21:53 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.