Namespace
library
Image / Tag
mongo:5.0.27-windowsservercore-ltsc2022
Content Digest
sha256:be7a2e7b9dc3bf429bbb763a52be24252d3211fc7a4ae6b7c5162ec81fe68619
Details
Created

2024-07-10 17:05:50 UTC

Size

2.28 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

3da3dc8c13ddb8405c230c8495d4412d9a847b6c24e937b63c6b67437984a175

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.27


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 56.63% (1.29 GB)

[#001] sha256:5f0206d135152eb909f50159d6ca348a5aead199afacbafc000b770c1b0720f6 - 30.63% (716 MB)

[#002] sha256:d89452dfe7a6e5ba17998f6b25a3f826d7d02a975ff9bd993128283f149b514b - 0.0% (1.28 KB)

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

[#004] sha256:19b2fd218d00147d32591bbaac522b4139ecc6603799688be32b11acaf7ac04b - 0.0% (1.25 KB)

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

[#006] sha256:407ef8b1741325d4acdf5877324a50e52ee468374833c1b2c96ac79ef01e3730 - 12.74% (298 MB)

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

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

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


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2024-07-03 10:07:02 UTC

Install update 10.0.20348.2582

2024-07-10 17:04:54 UTC

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

2024-07-10 17:04:54 UTC

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

2024-07-10 17:04:55 UTC

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

2024-07-10 17:04:56 UTC

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

2024-07-10 17:05:46 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=Client,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 ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2024-07-10 17:05:48 UTC

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

2024-07-10 17:05:49 UTC

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

2024-07-10 17:05:50 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