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.
-
7.0.3 [November 11, 2023]
-
7.0.2 [October 28, 2023]
-
6.0.11 [October 25, 2023]
-
7.0.1 [September 25, 2023]
-
7.0.0 [September 25, 2023]
-
6.0.10 [September 25, 2023]
-
6.0.8 [September 24, 2023]
-
6.1.0-rc4 [March 9, 2023]
- Navigate to the releases page.
- 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.3-mongodb-raspberrypi-docker-unofficial/mongodb.ce.pi4.r7.0.3-mongodb-raspberrypi-docker-unofficial.tar.gz
- Load the release
$ docker load --input mongodb.ce.pi4.r7.0.3-mongodb-raspberrypi-docker-unofficial.tar.gz
Loaded image: mongodb-raspberrypi4-unofficial-r7.0.3:latest
- (Optional) Verify the Docker image has been loaded
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
mongodb-raspberrypi4-unofficial-r7.0.3 latest c04f966fe9e2 5 days ago 468MB
- Run the image
$ docker run -it mongodb-raspberrypi4-unofficial-r7.0.3
- Save the
Dockerfile
&docker-entrypoint.sh
files from the relevant version's sub-directory, to a local working directory. - Adjust permissions on the
docker-entrypoint.sh
file to make it executable
$ chmod +x docker-entrypoint.sh
- Build the image from your working directory
$ docker build -t mongodb-unofficial:7.0.3
The image should now exist in your local docker images, or can be pushed to a registry for wider usage.
https://github.com/themattman/mongodb-raspberrypi-binaries/releases
The artifacts in this repo are subject to the MongoDB Server-Side Public License.
This repo is loosely based on: https://github.com/docker-library/mongo