naraesk / plasma-docker

Plasmoid for KDE Plasma to control docker containers
https://store.kde.org/p/1198473/
GNU General Public License v3.0
43 stars 4 forks source link

Use library / language bindings #6

Open naraesk opened 4 years ago

naraesk commented 4 years ago

Currently, the program uses the docker cli to talk to docker. This has some disadvantages, e.g., we have to run docker ps once for every container at startup. This is rather slow and causes a delay, which is noticeable when managing more than 10 containers. Instead, we should use some library or language bindings and directly talk to docker daemon .