<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<blockquote class="userQuote" style="border-left: 3px solid rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex; color: rgb(102, 102, 102);">
> The container based drivers in libvirt have been a bit of a square-peg /<br>
> round-hole thing. Given that we have a couple of them already (LXC,<br>
> OpenVZ, VZ), I wouldn't say no to adding a docker one too. The only<br>
> real issue is having people willing to do the work to implement it and<br>
> then maintain it thereafter.<br>
><br>
> Describing the scope of the desired work is probably useful....</blockquote>
<br>
</div>
</div>
</div>
<span></span><span>Hi all!<br>
</span>
<div><br>
</div>
<div>I am that man who will do this work. I think it can be stateless driver like hyperv driver from libvirt. Most of calls to the driver will bring remote call to docker host by native docker API. So my first implementation of docker driver will iclude all
 calls those have realized for hyperv driver now.<br>
</div>
<div><br>
</div>
<span>Dmitry</span>
<div></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com><br>
<b>Sent:</b> Thursday, April 16, 2020 3:18 PM<br>
<b>To:</b> Daniel P. Berrangé <berrange@redhat.com><br>
<b>Cc:</b> Martin Kletzander <mkletzan@redhat.com>; libvir-list@redhat.com <libvir-list@redhat.com>; Dmitry Nesterenko <dmitry.nesterenko@virtuozzo.com>; Dmitry Mishin <dim@virtuozzo.com><br>
<b>Subject:</b> Re: [RFC] Adding docker driver to libvirt</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Adding to cc again, now keeping mailing list<br>
<br>
On 15.04.2020 16:09, Daniel P. Berrangé wrote:<br>
> On Tue, Apr 14, 2020 at 09:56:24AM +0300, nshirokovskiy wrote:<br>
>><br>
>><br>
>> On 12.04.2020 12:39, Martin Kletzander wrote:<br>
>>> On Thu, Apr 09, 2020 at 03:30:11PM +0300, nshirokovskiy wrote:<br>
>>>> Hi, all.<br>
>>>><br>
>>>> Does it make sense to add such a driver? I can't say I have a big picture<br>
>>>> of docker functionality in mind but at least container lifecycle management<br>
>>>> and container networking are common to both.<br>
>>>><br>
>>><br>
>>> I think we had something in virt-tools that was able to pull an image from<br>
>>> docker hub and run it with lxc.  Or was it part of sandbox?  I don't know.<br>
>>><br>
>>> Anyway, what would be the benefit of that?<br>
>>><br>
>><br>
>> We wanted to add Windows containers to the libvirt API. They are available<br>
>> under docker API thus the idea to add a docker driver. The docker itself<br>
>> uses some API to manage Windows containers but this API lacks documentation<br>
>> thus again the willingness to use just docker API to bring Windows containers<br>
>> to libvirt.<br>
> <br>
> The container based drivers in libvirt have been a bit of a square-peg /<br>
> round-hole thing. Given that we have a couple of them already (LXC,<br>
> OpenVZ, VZ), I wouldn't say no to adding a docker one too. The only<br>
> real issue is having people willing to do the work to implement it and<br>
> then maintain it thereafter.<br>
> <br>
> Describing the scope of the desired work is probably useful. With docker,<br>
> a big part is in the image download/listing/upload and build process.<br>
> The container lifecycle is only a small part of the API coverage. The<br>
> image parts have no mapping in libvirt, and I'm not sure whether we<br>
> should to expand libvirt scope to that too.<br>
> <br>
> Regards,<br>
> Daniel<br>
> <br>
</div>
</span></font></div>
</body>
</html>