Replies: 3 comments 2 replies
-
@Tomkourou, @mnm-matin, @pz-max, @davide-f would be grateful for your comments and corrections on the topic |
Beta Was this translation helpful? Give feedback.
-
Thanks for starting this discussion @ekatef. As far as I can tell from my experimentation with Docker you actually won't have to build OS-specific images, Docker will do that for you by default. You will however need to add pypsa-earth onto a registry and manage it there. This would certainly mean additional work. The Docker image can also be used to install other dependencies out of the box such as openjdk. I also added an empty gurobi.lic to my container and set it up so that gurobipy already knows where to look for it once someone adds their credentials into it. Overall I think it's a convenient way to install and use pypsa-earth. In the end, I think it would be useful to hear from you on new user experience with installing pypsa-earth. How often do you need to help people, how often is environment management a bottleneck. If it happens a lot, perhaps Docker could help ease this issue. If not, then it might not be worth implementing it. |
Beta Was this translation helpful? Give feedback.
-
@ekatef I think we have test implementation here: #726 (thanks @Tomkourou) Several things need to be tested/ considered:
For the last point, we can do that together if it really helps a lot of people. So far the environment installation seems stable. As docker can be useful for Kubernetes stuff, I think we could have both solutions in the beginning. --- Add |
Beta Was this translation helpful? Give feedback.
-
It might be worth to create a docked image of PyPSA-Earth. The idea has been discussed a few times with the main output that a deeper investigation and some experiments might be beneficial to better understand suitability of the dockerization approach.
An example of Docker implementation is available #726 (thanks @joconnor-ecaa and @Tomkourou)
Trying to collect pros and cons as they have appeared throughout previous discusstions.
Advantages
Disadvantages
Beta Was this translation helpful? Give feedback.
All reactions