mongo (sha256:9c974c9b094bafe41c798029fcfcd0b08400f1a466a2ca86c2549ad87ac6e892)

Published 2026-04-18 00:02:04 +00:00 by rasmuskr

Installation

docker pull code.rakr.dk/mirror/mongo@sha256:9c974c9b094bafe41c798029fcfcd0b08400f1a466a2ca86c2549ad87ac6e892
sha256:9c974c9b094bafe41c798029fcfcd0b08400f1a466a2ca86c2549ad87ac6e892

Image layers

Apply image 10.0.20348.4294
Install update 10.0.20348.5020
SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
ENV MONGO_VERSION=8.2.7
ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.7-signed.msi
ENV MONGO_DOWNLOAD_SHA256=6a326fa3ea7f2013ef28247ea4e68faddaeffc5f19cabed1059e23488986379b
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.';
VOLUME [C:\data\db C:\data\configdb]
EXPOSE 27017
CMD ["mongod" "--bind_ip_all"]
Details
Container
2026-04-18 00:02:04 +00:00
1
OCI / Docker
windows/amd64
2.7 GiB
Versions (2) View all
latest 2026-04-19
8-noble 2026-04-19