Chia-Network / drplotter

Apache License 2.0
62 stars 7 forks source link

Docker container support #44

Open toto99303 opened 3 months ago

toto99303 commented 3 months ago

Hello, please add official docker container images for DrPlotter. This is important as it allows multiple dockers to share the same GPUs, which is very convinient. Gigahorse and noSSD already have their images and using them is very easy, so DrPlotter should not be missing this! Thanks in advance!

rkroelin commented 3 months ago

I’d second this

felixbrucker commented 3 months ago

i made some docker images, cant test them right now, but give em a try: https://github.com/foxypool/drplotter/pkgs/container/drplotter example compose: https://github.com/foxypool/drplotter/blob/main/docker-compose.yaml

toto99303 commented 3 months ago

Thanks @felixbrucker , I will try them soon. I'm just not sure how to proceed with the initial token generation and also the ca folder? What would be the order of running the dockers if starting from scratch? Thanks again for you time!

felixbrucker commented 3 months ago

Off the top of my head you'll need to:

ofc also the obvious stuff like adjusting the paths to your plot dirs etc

toto99303 commented 3 months ago

I got the plotter running, but not sure how to deal with the cli output. It's originally supposed to work in normal terminal, but here it's going to the live log and it looks like this:

image

Progress, time and ETA not updating live...

PS, they are updating, but only after a plot is done. Not sure if it's normal...

felixbrucker commented 3 months ago

yeah i'm not sure about that, drplotter could detect that it doesn't have a tty, so it does its stdout differently, or its something else

felixbrucker commented 3 months ago

@drnick23 might have more insights on that