Container Setup Guide

This document explains how you can utilize the container setup provided by us, to contribute to power-grid-model only on the Python side.

Setup Requirements

To begin using the container, you have several options, e.g.:

  • Podman + DevPod (both are free, open-source tools)

  • Docker + DevPod (NOTE: Docker Desktop requires a subscription that is not free for commercial usage)

  • Podman (https://podman.io/) - a container engine that lets developers build, run, and manage containers and pods without needing a background service.

  • DevPod (https://devpod.sh/) - a tool that instantiates reproducible, disposable development environments allowing developers to code inside the containers with their usual editors.

  • Docker (https://www.docker.com/) - a popular container platform that uses a background service (daemon) to build, run, and manage containerized applications. (NOTE: Docker Desktop requires a subscription that is not free for commercial usage).

Possible solutions to issues during setup

  • If you are facing issues while building the container then try and allocate more memory in Podman. Go to Podman -> Settings (Bottom left corner) -> Resources -> Edit.

  • Try and make a fresh clone of the repository and redo the setup on it.

Support for Apple Container

We have tested a container setup with Apple’s container app. However, currently there is not a simplistic way to open that container within VSCode. With future plugin developments we expect to add support for Apple’s container.