Namespace
library
Image / Tag
mongo:5.0.23-windowsservercore-ltsc2022
Content Digest
sha256:3b4c08d4413c6c50907d3c9bad3677f60edbfa09bc9739f4a12caf196937d264
Details
Created

2024-01-11 00:03:18 UTC

Size

2.06 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

458663972f8c528dcd249e6ef21ce77aac3301a14214089b2099283b2135da37

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.23


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 62.71% (1.29 GB)

[#001] sha256:a97a84f9ecb04e6f34ca7d17667bf0abbd83ea39301725226a2352330b4402d3 - 23.11% (488 MB)

[#002] sha256:a68d445ad7e8e5c88ce8a5f6ea8e7feae72b0afb8f81f8363dfdc397f57f8d7e - 0.0% (1.29 KB)

[#003] sha256:0e7ff080de115a1b28a937b7bf53db2f2e79bd3109e43fb02057a8032bad88a1 - 0.0% (1.26 KB)

[#004] sha256:3a49735884a068ee76c84b4e157dd46d29dd89fd55189e2bb0c7c7cee28f290c - 0.0% (1.26 KB)

[#005] sha256:bce28c149c24604e6b7433d2c30ce4b322b4d7e5a8b4587fca8f5b4c2702c84a - 0.0% (1.26 KB)

[#006] sha256:8b031204ca2135a5481576e27ccb4fb5406a41428f5514acbabeafddf3d36240 - 14.18% (299 MB)

[#007] sha256:b5a58a7311a0a1ab1e034c45b191dc74889b4a593d4eaff7449b312c2488fbe4 - 0.0% (1.26 KB)

[#008] sha256:6ca354ad4eebf39e29db1244b4aa46e3da4d85db9b2708d4c0d45485db6f54b3 - 0.0% (1.29 KB)

[#009] sha256:a9cba8cc8bf2b0b824360cb91acf36705752e23cfd568dea73a27ce52f22ea9a - 0.0% (1.27 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2024-01-04 03:43:51 UTC

Install update 10.0.20348.2227

2024-01-11 00:02:17 UTC

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

2024-01-11 00:02:18 UTC

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

2024-01-11 00:02:19 UTC

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

2024-01-11 00:02:19 UTC

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

2024-01-11 00:03:16 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.';

2024-01-11 00:03:17 UTC

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

2024-01-11 00:03:18 UTC

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

2024-01-11 00:03: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