Namespace
library
Image / Tag
mongo:7.0.21-rc0-windowsservercore-ltsc2022
Content Digest
sha256:1e6eed577523ec1a9756231990dba4d00e1d6778159220560223a97faa0af008
Details
Created

2025-05-22 23:19:43 UTC

Size

2.69 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

e0f664c1075a3d3c4ddc0d902dbc86d1a39b6e9991c5b86760d7054b62513d2e

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.21-rc0


Layers

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

[#001] sha256:9f99f0856d3665c6aeede32823351187cdab09d90cb8608ff70427d552ab356b - 28.08% (774 MB)

[#002] sha256:914ceb4b885fe971b4d667af6c4766d14fd2df1004e48c02817fc25d3ee9b336 - 0.0% (1.25 KB)

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

[#004] sha256:5acc0d5fbe7d1ebf633ed6086f77c8a47cce914473b6aa01a94110e75d01d8d8 - 0.0% (1.3 KB)

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

[#006] sha256:f6a71abfc98bbf1fd3be3c4656a6b2b029b1b398ae1f8ced03ee2490f2e39083 - 21.32% (588 MB)

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

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

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


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

Apply image 10.0.20348.2700

2025-05-09 19:38:10 UTC

Install update 10.0.20348.3692

2025-05-22 23:18:43 UTC

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

2025-05-22 23:18:44 UTC

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

2025-05-22 23:18:44 UTC

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

2025-05-22 23:18:45 UTC

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

2025-05-22 23:19:40 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-05-22 23:19:41 UTC

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

2025-05-22 23:19:42 UTC

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

2025-05-22 23:19:43 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