Namespace
library
Image / Tag
mongo:6.0.16-windowsservercore-ltsc2022
Content Digest
sha256:ef9b6410cbcc3c39b71cbd2592a8faa47ab71a577a648411ed583857479e781c
Details
Created

2024-08-13 20:17:24 UTC

Size

2.48 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

4a0da9d2a8e7151a2c7c8e68406dce00336f2bb2f6b9f1129184c9888c59e032

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.16


Layers

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

[#001] sha256:dcd649075383e8df03ea713dfe59e1205716fbaa14450c10ef0d0a24a7b63669 - 28.25% (718 MB)

[#002] sha256:8e8c622ca7412038949677dddd800b6409cefbbdf7b2a82a99b24a0bfb29fe10 - 0.0% (1.26 KB)

[#003] sha256:4e3e49a4c489bf98497827028ff6909ea04ffd1f8f5fc61d8fb08bd5e1f6d66c - 0.0% (1.28 KB)

[#004] sha256:9807def4d3a2b17e97c9ee1db5f3f048dc9004e821d796551dfd52127f0f9568 - 0.0% (1.25 KB)

[#005] sha256:878012323eceac784fb6da841882131ec5adbf7008124186044af6bffd528aef - 0.0% (1.25 KB)

[#006] sha256:9d704d43dc522cb435868474153b267fff4dbd984f0f32b4c951a9d56d259dc6 - 19.66% (500 MB)

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

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

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


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

Apply image 10.0.20348.1787

2024-08-10 19:49:59 UTC

Install update 10.0.20348.2655

2024-08-13 20:16:20 UTC

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

2024-08-13 20:16:20 UTC

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

2024-08-13 20:16:21 UTC

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

2024-08-13 20:16:22 UTC

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

2024-08-13 20:17: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-08-13 20:17:23 UTC

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

2024-08-13 20:17:24 UTC

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

2024-08-13 20:17:24 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