Closed locki-cz closed 1 year ago
There are thousands of guides on the internet on how to install Docker, so I'm not going to cover that in the README. I can however just add a short notice on that docker is needed to run it.
I think that this very basic information on how to get it up and running should not be missing, it can be helpful for a lot of novice users. There are many users who are more printers and not server admins. It wasn't easy for me either.
I have now updated the README with some basic information and guides on how to install docker and configure Moonraker. I think that should be sufficient.
dumb question but can the docker install be on the raspberry pi running klipper for the printer?
Hi please add some basic info how to run it to others on RPI:
How to install docker:
To install the latest stable versions of Docker CLI, Docker Engine, and their dependencies:
mkdir spoolman
cd spoolman
download the script
$ curl -fsSL https://get.docker.com -o install-docker.sh
verify the script's content
$ cat install-docker.sh
run the script with --dry-run to verify the steps it executes
$ sh install-docker.sh --dry-run
$ sudo sh install-docker.sh
Set proper rights to run docker:
sudo usermod -aG docker pi
Then logout and login again to refresh your pi user rights.
Then i created folder in my home/pi/spoolman created file: docker-compose.yml
nano docker-compose.yml
paste this:Create folder data:
mkdir data
Set rights to data folder
chown 1000:1000 data
then just run:
docker compose up -d
check docker containers:
docker ps -a
more info how to stop docker remove it etc i found there:
https://docs.docker.com/engine/reference/run/
Configuration on printer side:
https://moonraker.readthedocs.io/en/latest/configuration/#spoolman
update in my case is only run in my folder spoolman:
cd spoolman
docker compose pull && docker compose up -d