Namespace
library
Image / Tag
mongo:5.0.12-windowsservercore-ltsc2022
Content Digest
sha256:97108ed65e73ac26436d8b270ea3b15f5f82854001c0746699eb8fdcd749977e
Details
Created

2022-09-14 18:21:04 UTC

Size

2.47 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

640610125c5b555a41fd5ad12c6b69f02639b2f39c92b14dc6b0c96a30dc26dd

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.12


Layers

[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 54.08% (1.34 GB)

[#001] sha256:4486102fd3820ed9527fa3e7bfefa8305c2f054e65b46dffe9675755e3d8f288 - 34.25% (868 MB)

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

[#003] sha256:78cd228b753b3245c03bced6be52586c3aa2b443c772e45894decda4e31e5931 - 0.0% (1.3 KB)

[#004] sha256:596c744865ffebb823b86ed7e07a6d146b1da270c40eb0a07ce339d9b789a42c - 0.0% (1.26 KB)

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

[#006] sha256:d1dfaf87c5530ba66437c52946067144e95255fc5cf5896196599fc51a15bc21 - 11.67% (296 MB)

[#007] sha256:8f513fa1bf66f96d144a5b0213ac4b7ecfd69feff27c4a0ef85af3be0f8ec2b5 - 0.0% (1.27 KB)

[#008] sha256:9decf9f54a646ad0139b9355143e6df89dee2fa79200919876507ae5cb579842 - 0.0% (1.27 KB)

[#009] sha256:ca4e22d5fe5a524f0f7a1b625ffbb517aec92bcf8dacb97717da922a7e03c62c - 0.0% (1.28 KB)


History
2022-04-22 01:12:09 UTC

Apply image 10.0.20348.643

2022-09-08 20:30:55 UTC

Install update 10.0.20348.1006

2022-09-14 13:31:04 UTC

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

2022-09-14 18:19:36 UTC

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

2022-09-14 18:19:37 UTC

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

2022-09-14 18:19:38 UTC

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

2022-09-14 18:21:01 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\mongod.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-09-14 18:21:03 UTC

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

2022-09-14 18:21:03 UTC

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

2022-09-14 18:21:04 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