green-metrics-tool icon indicating copy to clipboard operation
green-metrics-tool copied to clipboard

Abstract container commands

Open ribalba opened this issue 10 months ago • 0 comments

Currently in the runner we call all the docker commands by executing a new process. While this is secure in the way that the docker command api stays the same it is not ideal. I would want to introduce a container abstraction layer. So we can a) use https://docker-py.readthedocs.io/en/stable/index.html to manage our containers if we choose too. I would like to see how much overhead the spawing of the new processes adds b) add Podman (bigger refactor)

nothing too important right now but should not be lost.

ribalba avatar Oct 10 '23 08:10 ribalba