Namespace
library
Image / Tag
mongo:6.0.15-windowsservercore-ltsc2022
Content Digest
sha256:8abb53b4ab6df12c58dd76271e1faf3201079a2e9af6a46fd19a2a65750906e2
Details
Created

2024-06-22 00:02:05 UTC

Size

2.45 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

a59408edea70438c1c9793ecdbc8b2111e44f10dd90f1ed0d2cc8071ae1cc95f

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.15


Layers

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

[#001] sha256:eb373ec9afdfc5f09b9380d981e0c61f9c7b48537b887135c7c66810086e705e - 27.68% (696 MB)

[#002] sha256:6259f80211bc4a0adf5b828ad11de20ef59483cc79c0ff2a54a2358372feb29b - 0.0% (1.26 KB)

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

[#004] sha256:7f24324d36ddb25ab0d8f1bbd43193cfe06a6440d673440e9e45d05527503c59 - 0.0% (1.25 KB)

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

[#006] sha256:b9db45e83c804b10fea0202b683e4202676cb71c5bb5985c39723c696917ac88 - 19.63% (493 MB)

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

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

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


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

Apply image 10.0.20348.1787

2024-06-19 19:58:05 UTC

Install update 10.0.20348.2529

2024-06-22 00:00:51 UTC

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

2024-06-22 00:00:52 UTC

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

2024-06-22 00:00:53 UTC

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

2024-06-22 00:00:54 UTC

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

2024-06-22 00:02:02 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-06-22 00:02:04 UTC

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

2024-06-22 00:02:05 UTC

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

2024-06-22 00:02:05 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