Simple Docker image running the latest Mainsail
Warning: This project is not affiliated with Mainsail, so please be aware that it may stop working at any moment.
Mainsail related issues must be reported directly on the Mainsail official repo.
This repo will run a GitHub action every 20 minutes to check for new code on the "master" and "develop" branches of the Mainsail repository, and creates new Docker images if there are any modifications.
Create and run the new container as you would normally do, but remember to specify the API_HOST
environment variable to indicate the Moonraker host.
docker run -d \
--name mainsail \
--net=host \
-e API_HOST=<moonraker host or ip> \
ei99070/docker-mainsail
By default the server runs on port 80, but this can be changed by specifying the PORT
environment variable.
docker run -d \
--name mainsail \
--net=host \
-e API_HOST=<moonraker host or ip> \
-e PORT=<alternative port> \
ei99070/docker-mainsail
latest
ormaster
: points to "master" branchlatest-dev
ordevelop
: points to "develop" branchsha-<hash>
: points to the GitHub commit hash
MIT