MongoDB v5/v6 without AVX CPU requirement.
10K+
MongoDB version 5.0+ require a CPU with AVX capabilities. Systems using modern but lower-end CPU´s like Intel Celeron do not support this and cannot use more recent MongoDB versions because of that. Projects like Graylog have started to require MongoDB 5+, making it impossible to use recent versions of Graylog on such CPU´s.
This is MongoDB built from source with AVX requirements patched out. Tested on Intel Celeron J4105 system.
amd64 only6.2.1, and 5.0.20latest tag equals 6.2.1docker pull docker.io/l33tlamer/mongodb-without-avx:latestRefer to the MongoDB documentation for usage.
GitHub repo: https://github.com/l33tlamer/mongodb-without-avx
mongod --version
db version v6.2.1
Build Info: {
"version": "6.2.1",
"gitVersion": "nogitversion",
"openSSLVersion": "OpenSSL 1.1.1w 11 Sep 2023",
"modules": [],
"allocator": "tcmalloc",
"environment": {
"distarch": "x86_64",
"target_arch": "x86_64"
}
}
Example docker-compose.yml
version: "3.8"
services:
mongodb:
container_name: mongodb
image: l33tlamer/mongodb-without-avx:latest
restart: unless-stopped
ports:
- 27017:27017
volumes:
- ./mongodb:/data/db
healthcheck:
test: mongo --norc --quiet --host=localhost --eval "db.runCommand('ping')" || exit 1
start_period: 300s
interval: 30s
timeout: 5s
retries: 3
Content type
Image
Digest
sha256:d47d59dc7…
Size
508.7 MB
Last updated
almost 3 years ago
docker pull l33tlamer/mongodb-without-avx