Skip to content

themattman/mongodb-raspberrypi-docker

Repository files navigation

Unofficial MongoDB Docker Image for Raspberry Pi

Deploy recent releases of MongoDB on a Raspberry Pi with these Docker images.

This repo and any code or binaries within it are not explicitly endorsed nor provided by MongoDB Inc.

Versions

How to Install

Download Pre-Built Docker Images (Quickest)

  1. Navigate to the releases page.
  2. Download the tarball via browser or copying the link to a terminal session
wget https://github.com/themattman/mongodb-raspberrypi-docker/releases/download/r7.0.4-mongodb-raspberrypi-docker-unofficial/mongodb.ce.pi4.r7.0.4-mongodb-raspberrypi-docker-unofficial.tar.gz
  1. Load the release
$ docker load --input mongodb.ce.pi4.r7.0.4-mongodb-raspberrypi-docker-unofficial.tar.gz
Loaded image: mongodb-raspberrypi4-unofficial-r7.0.4:latest
  1. (Optional) Verify the Docker image has been loaded
$ docker images
REPOSITORY                                TAG       IMAGE ID       CREATED       SIZE
mongodb-raspberrypi4-unofficial-r7.0.4    latest    c04f966fe9e2   5 days ago    468MB
  1. Run the image
docker run -it mongodb-raspberrypi4-unofficial-r7.0.4

Custom Build Steps (Slower, more control)

  1. Save the Dockerfile & docker-entrypoint.sh files from the relevant version's sub-directory, to a local working directory.
  2. Adjust permissions on the docker-entrypoint.sh file to make it executable
chmod +x docker-entrypoint.sh
  1. Build the image from your working directory
docker build -t mongodb-unofficial:7.0.4 .

The image should now exist in your local docker images, or can be pushed to a registry for wider usage.

Source

https://github.com/themattman/mongodb-raspberrypi-binaries/releases

License

The artifacts in this repo are subject to the MongoDB Server-Side Public License.

Fork

This repo is loosely based on: https://github.com/docker-library/mongo