Namespace
library
Image / Tag
mongo:8.0.6-windowsservercore-ltsc2022
Content Digest
sha256:763086a9fe887ca1ed2bd2f4dcff1baaaf28ea857a45774e1fd31e2caba9bcf4
Details
Created

2025-04-09 00:56:19 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.08% (1.36 GB)

[#001] sha256:510f1abe0ffe1466f946291b3ac20345b4a5e2063a896736990eae81bbf4bdb4 - 26.59% (771 MB)

[#002] sha256:93a29deb4c5e029da3af73373df2cb38d63aee6bbda6a141340d0f5e63b9acee - 0.0% (1.25 KB)

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

[#004] sha256:1686c1ab06a7cb8f2c5f51d4614bd559609e549ccc791fe1ed9f426e3c910da6 - 0.0% (1.25 KB)

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

[#006] sha256:f108067d945a0ec2a7be03addb9f123e5e4689e170d3d68c81d5f031c50e4367 - 25.33% (735 MB)

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

[#008] sha256:0183ab79e19b1e9d0e586258643c4a4d4829a849dd6e84070f303509ad9afda3 - 0.0% (1.25 KB)

[#009] sha256:10dfc689f9706a0f5822d0db22f390ddb140efe2eb9be717d2e047174e0307a9 - 0.0% (1.25 KB)


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

Apply image 10.0.20348.2700

2025-04-04 23:10:04 UTC

Install update 10.0.20348.3453

2025-04-09 00:54:53 UTC

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

2025-04-09 00:54:53 UTC

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

2025-04-09 00:54:54 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-04-09 00:54:55 UTC

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

2025-04-09 00:56:14 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-04-09 00:56:18 UTC

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

2025-04-09 00:56:18 UTC

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

2025-04-09 00:56:19 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