Namespace
library
Image / Tag
mongo:7.0.6-windowsservercore-ltsc2022
Content Digest
sha256:410d818d7edfc2bcf67c57ae2614aad51c208b6680088c3567bc7899a4e18bf7
Details
Created

2024-03-13 00:07:27 UTC

Size

2.4 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

29fb23ca36a9dd6fee2f6491a92392c404d544ffe38bfaf3d2467db0bd774fde

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.6


Layers

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

[#001] sha256:a61557bf66429be9509f579104808d2853f8f7aefbd49ef26f5f2a90266c46f5 - 22.11% (543 MB)

[#002] sha256:ade502e1a89fb2443bcc162a89b3065bdac30aea1068de4ffbcfc9407a26090b - 0.0% (1.27 KB)

[#003] sha256:f1e3919bf1f8d3c03b3156433d174008c799ead72ed969884e13600f85e120b7 - 0.0% (1.26 KB)

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

[#005] sha256:7a2d620f976729f09d7bf0d234ccdd6b8b1b5cf773b75244c71db47767cddded - 0.0% (1.28 KB)

[#006] sha256:0ebe89dcfd388595ee07f3d1f83cebe4c97c69f0c1f26fdc35386dd0cbce7458 - 23.91% (587 MB)

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

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

[#009] sha256:2595f870981ce52aaa26c33d0392909e6c707a4744d5db3a33e1d78cc31c1c6b - 0.0% (1.26 KB)


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

Apply image 10.0.20348.1787

2024-03-05 19:55:40 UTC

Install update 10.0.20348.2340

2024-03-13 00:06:02 UTC

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

2024-03-13 00:06:02 UTC

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

2024-03-13 00:06:03 UTC

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

2024-03-13 00:06:04 UTC

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

2024-03-13 00:07:22 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.';

2024-03-13 00:07:24 UTC

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

2024-03-13 00:07:26 UTC

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

2024-03-13 00:07:27 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