Namespace
library
Image / Tag
mongo:8.0.4-windowsservercore-ltsc2022
Content Digest
sha256:16437aeaf82d2f98883ffed9eca017e2e1eb7bc0ef837415e9891988cecb87de
Details
Created

2025-02-13 00:41:20 UTC

Size

2.82 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

52d30392e6767eb48c03fc9886b831da5a282af7aba49cc46f45c6b0f85280cb

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.4


Layers

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

[#001] sha256:76bc4873980ff6a1dec3c10adb1f289ccf73e4c47c8694420e8ff929f1476ada - 26.44% (765 MB)

[#002] sha256:4975f734cb8f39ea9dc1cd530259eaff48e98673fc95d7cd0f3c1ee8083539a0 - 0.0% (1.26 KB)

[#003] sha256:100b218cbae4606d60a9d4d57f063777682c54ad0a09d110ee77b032c5af0fb4 - 0.0% (1.29 KB)

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

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

[#006] sha256:f543e3ed8f3d4e6bbec3077126f10e8935a6557d480a76cf6b6b6ec69abe746c - 25.35% (733 MB)

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

[#008] sha256:9199654a3ca0e1a33ce3cd36994fc268e6d7dc84f50aac81f488c00d1aa02a52 - 0.0% (1.25 KB)

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


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

Apply image 10.0.20348.2700

2025-02-07 21:10:03 UTC

Install update 10.0.20348.3207

2025-02-13 00:39:52 UTC

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

2025-02-13 00:39:53 UTC

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

2025-02-13 00:39:53 UTC

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

2025-02-13 00:39:54 UTC

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

2025-02-13 00:41:18 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-02-13 00:41:19 UTC

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

2025-02-13 00:41:20 UTC

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

2025-02-13 00:41:20 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