Namespace
library
Image / Tag
mongo:5.0.17-windowsservercore-ltsc2022
Content Digest
sha256:3d79a70bdce76d992326e9d2d958bb44121b639c62ca1dd09c76c70cf1a5efae
Details
Created

2023-05-10 02:04:15 UTC

Size

1.94 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

9681a526d4b0eeb6524aefdc1e06d4a86c75a968c62e613fbf5451ced6c6aa35

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.17


Layers

[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 66.37% (1.29 GB)

[#001] sha256:5829cfc8807e3c8e6f804ec45e3696c2b2e76cd39141b9c20486f8f070f56002 - 18.63% (371 MB)

[#002] sha256:22ae2b2372db6d2d1ac04a5297e71fc9a798a078f7d1a0bcccae77193e8b58b2 - 0.0% (1.39 KB)

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

[#004] sha256:1903ef215c21da66eb650d5e4e21acede48491d3cfc3e468871a433436ce6dd6 - 0.0% (1.31 KB)

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

[#006] sha256:813372f095f362bed3b03038aa5c944aef0403f0648a3fef1898ccd1b91353eb - 15.0% (299 MB)

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

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

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


History
2023-01-06 23:47:40 UTC

Apply image 10.0.20348.1487

2023-05-05 13:22:05 UTC

Install update 10.0.20348.1726

2023-05-10 01:53:47 UTC

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

2023-05-10 02:02:37 UTC

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

2023-05-10 02:02:38 UTC

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

2023-05-10 02:02:39 UTC

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

2023-05-10 02:04:11 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.';

2023-05-10 02:04:13 UTC

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

2023-05-10 02:04:14 UTC

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

2023-05-10 02:04:15 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