Sign inSign up

l33tlamer/mongodb-without-avx

By l33tlamer

•Updated almost 3 years ago

MongoDB v5/v6 without AVX CPU requirement.

Image
7

10K+

l33tlamer/mongodb-without-avx repository overview

⁠MongoDB without AVX

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.

⁠Not intended for production. Use at your own risk.

  • Platforms: amd64 only
  • Different versions available: 6.2.1, and 5.0.20
  • latest tag equals 6.2.1
  • Images are built using GitHub actions, Dockerfiles and workflow are available in the repo.
  • Pull from the Docker Hub repo⁠ with docker pull docker.io/l33tlamer/mongodb-without-avx:latest

Refer 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

Tag summary

Content type

Image

Digest

sha256:d47d59dc7…

Size

508.7 MB

Last updated

almost 3 years ago

docker pull l33tlamer/mongodb-without-avx