Instructions on setting up a containerized version of the Magi (XMG) daemon.
831
This repository contains instructions to setup a conterized version of the Magi (XMG) daemon. A docker image is provided on docker hub, which is built from source.
The docker image is built for multiple architectures at the same time.
Simply pulling aaronme/magi-docker:latest should retreive the correct image for your architecture.
The currently supported architectures are:
| Architecture | Available | Note |
|---|---|---|
| x86-64 | ✅ | Not yet fully tested |
| arm64 | ✅ | Not yet fully tested |
| armv7 | ❌ | Work in progress |
This image provides various versions that are available via tags:
| Tag | Available | Description |
|---|---|---|
| latest | ✅ | Latest stable release |
| vx.x.x.x | ✅ | Specific release (available releases) |
To get started creating a container from this image you can either use docker-compose or the docker cli.
Make sure the data directory exists and contains a magi.conf file, containing at least an rpcuser and an rpcpassword.
---
services:
magi-docker:
image: aaronme/magi-docker:latest
container_name: magi-docker
ports:
- "8232:8232"
- "8233:8233"
volumes:
- ./data:/magi/data
restart: unless-stopped
Start the container with
docker compose up -d
docker run -d \
--name magi-docker \
-p 8232:8232 \
-p 8233:8233 \
-v ./data:/magi/data \
--restart unless-stopped \
aaronme/magi-docker:latest
Always stop the container when editing files in the data directory.
Download the newest blockchain (speeds up initial syncing)
sudo apt install megatools
megadl <link_to_blockchain.zip>
unzip <blockchain.zip>
data foldermv <blockchain> data/blockchain
The magi configuration file is located at data/magi.conf
Supported at the moment is:
This repository is managed and maintained by aaronmee.
If you run into problems or need help, you can reach out to @aaronmee on our community discord.
Content type
Image
Digest
sha256:472259007…
Size
7.5 MB
Last updated
about 1 year ago
docker pull aaronme/magi-docker