Namespace
library
Image / Tag
mongo:7.0.7-windowsservercore-ltsc2022
Content Digest
sha256:36d355c2fe69d6358225b5ff7118817244f6aeab215244d534d09f737ac20255
Details
Created

2024-03-18 18:59:46 UTC

Size

2.4 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

bc2b37ac25858986b053b5f2f829810c4e4d7617d3c3d6f9b5c443e087294a85

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.7


Layers

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

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

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

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

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

[#005] sha256:e734564af2411e963045e4ba3c74358ad8e585b168919d51f12e4bde4554067e - 0.0% (1.27 KB)

[#006] sha256:1f28de1631cc93f965d81dbd101bf0608fab2139edc26dda2f6925c17b689dfd - 23.99% (589 MB)

[#007] sha256:f06c3aed1a11a91b23f32586155411cf584ad5f7a988997fd7c92d2ff2d99c92 - 0.0% (1.29 KB)

[#008] sha256:c879b75d13d41f945a4b191a7b9f4794fa9a4244f107bee86e0300742d9bd97f - 0.0% (1.27 KB)

[#009] sha256:2c5ddbbbf78c847d421985e3bf699062b263cb79db8f97ca6bdcf484644f956f - 0.0% (1.29 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-18 18:57:47 UTC

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

2024-03-18 18:57:48 UTC

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

2024-03-18 18:57:48 UTC

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

2024-03-18 18:57:49 UTC

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

2024-03-18 18:59:43 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-18 18:59:44 UTC

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

2024-03-18 18:59:45 UTC

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

2024-03-18 18:59:46 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