Namespace
library
Image / Tag
mongo:windowsservercore-ltsc2022
Content Digest
sha256:82db8c0f9bfadbba1203d43badbc78ce087d6e2faa838a56c18d2a6e5ab653d2
Details
Created

2025-03-24 21:30:18 UTC

Size

2.83 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

c90e72bd480ba96934708a90e456080732b473665abc8bfbe828b33b833f8a70

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.6


Layers

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

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

[#002] sha256:97a3ddef7178c76c59c2960849c42cf63ac8bc2f5dedcf45040900b586d6987e - 0.0% (1.3 KB)

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

[#004] sha256:74c43c3f8bf35ee6c3c6c2a099a16d257fe4054f4b12eb7d37ba07d967e7fbb1 - 0.0% (1.25 KB)

[#005] sha256:9cb754facd294cfcaa50ed074ecec1c92d1b1f4d3064528d423329f6b1b3c7d6 - 0.0% (1.25 KB)

[#006] sha256:975e213ba2e61ab3b1bcb490e9bf4ce6c04663ed8c44502d70d6b8bf6a565fc4 - 25.34% (735 MB)

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

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

[#009] sha256:bd243a482faec97b8ebb4e6becd4a8658f9b76996b264db690b5dca163fe7251 - 0.0% (1.28 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-24 21:28:40 UTC

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

2025-03-24 21:28:41 UTC

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

2025-03-24 21:28:42 UTC

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

2025-03-24 21:28:43 UTC

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

2025-03-24 21:30: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=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-24 21:30:16 UTC

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

2025-03-24 21:30:17 UTC

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

2025-03-24 21:30: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