Namespace
library
Image / Tag
mongo:5.0.16-windowsservercore-ltsc2022
Content Digest
sha256:a2d0926d8887c48a6751c7021be88d1fa45423e3731807b689ba5dc012a514c9
Details
Created

2023-04-12 00:27:18 UTC

Size

1.93 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

2319542cffb08c1375d90189ba2eb90dc1a0e28bb88989af79c3a661bf1c499a

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.16


Layers

[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 66.75% (1.29 GB)

[#001] sha256:f4ecfa9c953d28a9da9d422b57cd0361c57c44e1faaaed7e50a2537d1c29cee1 - 18.14% (359 MB)

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

[#003] sha256:aff280eda58baab9301b21c05c9b425dead06b679aaf92aa13d5f1a97dd441f8 - 0.0% (1.38 KB)

[#004] sha256:ceb0a01e3a56a507badf6c5d2d21b748ed5a1657e3aa84a86583b01db826f064 - 0.0% (1.37 KB)

[#005] sha256:4a845cff211c27a57bc41ffb5e9e76cef4d2825951831004aa8a43b0d3b9fb11 - 0.0% (1.36 KB)

[#006] sha256:86e196ce47a143e27131fdd851c62b4dca1eaffbc7442b36ad8f4d882cbbc5cb - 15.11% (299 MB)

[#007] sha256:85e3e0bd3108f92fecd12ec16df87b371d62f68f27169806bffbc446624ea34c - 0.0% (1.39 KB)

[#008] sha256:9727b04ca1166b0dd6e6fbbc2a04b8ee703ba10447d6320e82ec2c351afb6ea7 - 0.0% (1.37 KB)

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


History
2023-01-06 23:47:40 UTC

Apply image 10.0.20348.1487

2023-04-05 00:38:27 UTC

Install update 10.0.20348.1668

2023-04-12 00:15:38 UTC

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

2023-04-12 00:25:37 UTC

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

2023-04-12 00:25:38 UTC

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

2023-04-12 00:25:39 UTC

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

2023-04-12 00:27:15 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.';

2023-04-12 00:27:17 UTC

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

2023-04-12 00:27:17 UTC

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

2023-04-12 00:27:18 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