<div dir="ltr"><span id="gmail-docs-internal-guid-848d79de-f4f6-381c-1a9e-dbfbf9af8058"><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Hello to All.</span></p><div dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt;text-align:justify"><br></div><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt;text-indent:36pt;text-align:justify"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">I’d like to get initial feedback on the idea of building Docker images through Zun involving Glare as artifactory for all static components required for image.</span></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><span class="gmail-Apple-tab-span" style="white-space:pre">   </span></span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">So, the idea here is in being capable to build a Docker image through Zun API with storing all static data required for docker image building in Glare or Swift. In order to keep the same UX from using Docker it would be better to use Dockerfile as description format for image building.</span></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><span class="gmail-Apple-tab-span" style="white-space:pre">     </span></span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">In image creation process Glare could take role of artifactory, where users stores, let’s say source code of his applications that would run in containers, static data, etc. And those artifacts will be pulled during image creation and used to inject into image (similar process of context creation during Docker image building using native CLI). Please note that artifacts are completely optional for images, but would give a capability to keep artifacts in dedicated storage instead of transferring all data through Zun API (the opposite concept to Docker build context).</span></p><div dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt;text-align:justify"><br></div><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><span class="gmail-Apple-tab-span" style="white-space:pre"> </span></span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Once image is created, it can be stored in underlying Docker in Zun or can be published into Glance or Swift for further consumption (if user will need to save image, he’ll use Glance image download API). I’ve mentioned Swift VS Glance because Swift has concept of temp URLs that can be accessed without being authorized. Such feature allows to use Swift as storage from where possible to export image to Docker using Import API [1].</span></p><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><br></div><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><br></div><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Any feedback on the idea is appreciated.</span></p><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><br></div><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Kind regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Denis Makogon</span></p><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><br></div><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span id="gmail-docs-internal-guid-848d79de-f503-e9fa-4a36-58447cc089e3"></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">[1] </span><a href="https://docs.docker.com/engine/reference/commandline/import/" style="text-decoration:none"><span style="font-size:14.6667px;font-family:arial;color:rgb(17,85,204);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">https://docs.docker.com/engine/reference/commandline/import/</span></a></p></span></div>