Inspiration
libvirt supports many virtualization platforms like lxc,openvz,kvm etc. Currently it doesn't have support for docker containers.So i wanted to extend libvirt api to provide support for docker containers also.
What it does
It enables us to manages docker containers using generic libvirt api.
How I built it
This is still in progress. It requires :-
- using docker internal remote api to implement docker functionalities .
- Integrating docker implementation with libvirt api.
Challenges I ran into
It was difficult to learn about libvirt api initially since it is written in C and not much documentation is provided online. So i had to learn about it form its website and mailing list conversations.
Accomplishments that I'm proud of
I understood the internal architecture of libvirt api and how it works.
What I learned
i learnt about how a big projects are build using C language and what tools are used like automake,autoconf etc.
What's next for docker management using libvirt
Currently i am using docker internal api to make calls to docker daemon but i am also looking to use docker source code to directly use functions in go language . This requires integrating go with C language which is a cumbersome task.
Built With
- autoconf
- automake
- c
Log in or sign up for Devpost to join the conversation.