Namespace
library
Image / Tag
mongo:6.0.21-windowsservercore-ltsc2022
Content Digest
sha256:a5fd1ed7b229218dedfa2e9a94f562a13eda0b49c7c5500624472b12ddfbae27
Details
Created

2025-03-18 17:28:30 UTC

Size

2.61 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

5bf510cf298083b313149ba7ee98fae10c4300513967b090ec14048b6515c0d8

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.21


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 52.27% (1.36 GB)

[#001] sha256:75861b2b3af9a692daa04d9c15a1c79d8a009e23ed5140003350c9b926460f09 - 28.88% (770 MB)

[#002] sha256:5c2b9c3fc4a03bc71a2569f0040a298c41064cd1b922896692cdcdcbe53cbdcc - 0.0% (1.3 KB)

[#003] sha256:a151b465780788d021cf3a32abdc4e1c1192e92a5f40df078a79b19b1cbbd3c9 - 0.0% (1.25 KB)

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

[#005] sha256:eb602df2856b7790365336f37c3bdbfabfb8c165d8d43cc26e2811e199eb7875 - 0.0% (1.28 KB)

[#006] sha256:2b7cfc2c01294d266c242c260c68688569c92420f41989a328f3cbde0d653614 - 18.85% (503 MB)

[#007] sha256:deaa201e7a30dbad400a1e30980f5aa36a44b22c4dfef36b1a7a6aed3ce8d0e9 - 0.0% (1.25 KB)

[#008] sha256:29d33b5d7e83c787f1e0c2112faf86db909aabfec58e9b0c42d4ed8afa99f122 - 0.0% (1.26 KB)

[#009] sha256:f2301a782cbdf23fbc5694808af1bd10e47edb3f8bc97cf8ef87804b5531f85d - 0.0% (1.26 KB)


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-03-06 10:49:01 UTC

Install update 10.0.20348.3328

2025-03-18 17:27:37 UTC

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

2025-03-18 17:27:38 UTC

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

2025-03-18 17:27:38 UTC

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

2025-03-18 17:27:39 UTC

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

2025-03-18 17:28:27 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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2025-03-18 17:28:28 UTC

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

2025-03-18 17:28:29 UTC

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

2025-03-18 17:28:30 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