<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Docker Containers - Medium]]></title>
        <description><![CDATA[Docker and other container technologies - Medium]]></description>
        <link>https://medium.com/docker-containers?source=rss----d1c9a66c3239---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Docker Containers - Medium</title>
            <link>https://medium.com/docker-containers?source=rss----d1c9a66c3239---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:02:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/docker-containers" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[WTF Are Containers?]]></title>
            <link>https://medium.com/docker-containers/wtf-are-containers-cad07c22d878?source=rss----d1c9a66c3239---4</link>
            <guid isPermaLink="false">https://medium.com/p/cad07c22d878</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <dc:creator><![CDATA[Snap CI]]></dc:creator>
            <pubDate>Tue, 12 Apr 2016 18:05:02 GMT</pubDate>
            <atom:updated>2016-04-12T18:05:02.609Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*YZJXwDMOHn9t6JxkdeIHng.jpeg" /></figure><h3>“Container” is such a vague word. It’s an even vaguer concept.</h3><p>Basically, a container is something which contains things.</p><p>Helpful, right?</p><p>Container in the context of programming can mean multiple things. For one, it’s a collection of elements, such as an array or a hash.</p><p>In the context of Docker (which is an open source tool for packaging applications inside containers), containers are like slimmed-down virtual machines that can share operating system kernels (not unlike in popcorn, the kernel is the central core of the operating system and gives a Linux or Windows machine its charming personality and sometimes gets stuck in your teeth) and sometimes libraries.</p><p>While I’m trying to grasp the concept of a container, I’m going to think of it as a machine. I have a laptop sitting in front of me. It runs an operating system. I also have access to a virtual machine running Windows.</p><p>For some reason, even though my Windows VM is accessed via my laptop, it makes perfect sense to me that it’s a whole separate machine with separate files, separate OS, separate everything. For some reason, I get it. That makes sense.</p><p>So for containers, I just need to think of them like virtual machines except they can share certain things, like operating system kernels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bwkG5AXtK9biRSYp.png" /></figure><h3>What are the benefits of using containers?</h3><p>Containers allow you to wrap your software up in a neat little package with everything it needs to run, which means your code is supposed to run the same way no matter what environment it’s running in. They’re also supposed to be easy to spin up as you need them, for scalability.</p><h3>What is Docker and why is it so popular?</h3><p>Docker automates the deployment of an app as a container, which makes containers easier to use. You can build-run-test-deploy your app inside a container. They’re also open-source, and developers absolutely wet themselves over OSS. Apparently there are some security concerns with using containers, so that’s something to be aware of.</p><p>So that’s my understanding of containers right now. I feel like I’ve barely scratched the surface, but as my job is requiring me to understand more about DevOps (specifically, I need to support CI/CD products), I imagine this won’t be the last time I work with and try to understand containers.</p><p><em>This article was originally published on Snap CI’s </em><a href="https://blog.snap-ci.com/blog/2016/04/12/wtf-are-containers/?utm_campaign=blog_wtf_containers&amp;utm_medium=medium_article&amp;utm_source=medium_wtf_containers&amp;utm_content=wtf_containers&amp;utm_term="><em>The Pipeline</em></a><em> Blog. Written by </em><a href="https://blog.snap-ci.com/authors/erin-snyder/?utm_campaign=blog_wtf_containers&amp;utm_medium=medium_article&amp;utm_source=medium_wtf_containers&amp;utm_content=erin_profile&amp;utm_term="><em>Erin Snyder</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cad07c22d878" width="1" height="1" alt=""><hr><p><a href="https://medium.com/docker-containers/wtf-are-containers-cad07c22d878">WTF Are Containers?</a> was originally published in <a href="https://medium.com/docker-containers">Docker Containers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why we decided to use LXC instead of Docker for build environments in Snap]]></title>
            <link>https://medium.com/docker-containers/why-we-decided-to-use-lxc-instead-of-docker-for-build-environments-in-snap-3737fd9701c5?source=rss----d1c9a66c3239---4</link>
            <guid isPermaLink="false">https://medium.com/p/3737fd9701c5</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Snap CI]]></dc:creator>
            <pubDate>Wed, 09 Sep 2015 21:12:16 GMT</pubDate>
            <atom:updated>2015-09-09T21:12:20.018Z</atom:updated>
            <content:encoded><![CDATA[<p>This is part 3 of the series on “Bringing Docker Support to Snap CI”. In this article, we talk about security aspects around using containers for provisioning build machines in Snap CI.</p><p>Customization is an important aspect in a hosted CI environment. For example, users may need to install different packages, libraries, and services required by their builds that are not provided by default. In order to accommodate this, Snap CI allows users to run arbitrary commands, some of which may need to run as root.</p><p>But of course, providing root access within the container of the build environment has huge security implications for a multi-tenant, hosted build server.</p><h3>The need for user namespace in containers on multi tenant systems</h3><p>In <a href="https://blog.snap-ci.com/blog/2015/08/05/how-snapci-sets-up-build-env/">part 1 of this series</a>, we explained that we adopted OpenVZ containers for build environments back in 2012 because:</p><p>“With OpenVZ, we could provide root access within a container without being privileged on the host or other containers. This allowed users to have admin privileges required to customize their build environment on the container but at the same time secured our users against a major attack vector that other container technologies (including LXC) were vulnerable to at that time. [See <a href="https://lwn.net/Articles/532593/">user namespaces</a>]”</p><p>In short, user namespaces basically afford the ability to run processes and access filesystems as a root user in the containers which can be mapped to a non-root user on the host. If a root user on a container were to find an exploit that allowed them into the host, the user wouldn’t be root on the host machine and so wouldn’t be able to cause as much damage as a root user on the host would be able to.</p><p>But as great as it is, Docker doesn’t <a href="https://docs.docker.com/articles/security/">yet support user namespaces</a>. The <a href="https://docs.docker.com/articles/security/">Docker security page</a> mentions leveraging kernel security features like <a href="http://blog.siphos.be/2013/05/capabilities-a-short-intro/">capabilities</a> to harden the host with systems like SELinux and AppArmor. These tools allow whitelisting of resources and capabilities that the container needs. There is also <a href="https://grsecurity.net/">grsec</a> which has simpler ways to manage the security policies. It requires patching the kernel however. This is something we may look into the future to further harden our hosts.</p><p>This DockerCon video has a good introduction to these concepts.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FzWGFqMuEHdw%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzWGFqMuEHdw%26feature%3Dyoutu.be&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FzWGFqMuEHdw%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/76c6988f6cae5e5159221f5f8dc7e792/href">https://medium.com/media/76c6988f6cae5e5159221f5f8dc7e792/href</a></iframe><p>While those techniques to harden the system work well for trusted applications running on self-managed servers, they are not enough for a hosted build environment that executes arbitrary code because it is not possible to whitelist all the resources a user build may need in advance. Due to these security considerations, we decided not to use Docker containers as build machines.</p><p>On the other hand, LXC now has <a href="https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/">support for user namespaces</a> starting with LXC 1.0 that was released in 2014.</p><h3>We chose LXC containers for build environments</h3><p>Due to these considerations, we selected <a href="https://linuxcontainers.org/lxc/getting-started/#creating-unprivileged-containers-as-a-user">unprivileged LXC containers</a> for build machines on top of which users will be able to build and run Docker containers.</p><p><em>This article was originally published on </em><a href="https://blog.snap-ci.com/blog/2015/09/09/snap-container-security/"><em>Snap CI’s The Pipeline Blog</em></a><em>. Written by Akshay Karle.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3737fd9701c5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/docker-containers/why-we-decided-to-use-lxc-instead-of-docker-for-build-environments-in-snap-3737fd9701c5">Why we decided to use LXC instead of Docker for build environments in Snap</a> was originally published in <a href="https://medium.com/docker-containers">Docker Containers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Types of Container Technologies]]></title>
            <link>https://medium.com/docker-containers/types-of-container-technologies-cbeb6e09aaa0?source=rss----d1c9a66c3239---4</link>
            <guid isPermaLink="false">https://medium.com/p/cbeb6e09aaa0</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Snap CI]]></dc:creator>
            <pubDate>Wed, 12 Aug 2015 20:33:38 GMT</pubDate>
            <atom:updated>2015-08-12T20:33:37.343Z</atom:updated>
            <content:encoded><![CDATA[<p>This is part 2 of the series on “Bringing Docker support on Snap CI”. In the previous article, we wrote about <a href="https://blog.snap-ci.com/blog/2015/08/05/how-snapci-sets-up-build-env/">How Snap CI currently sets up build environments</a>.</p><p><a href="https://www.docker.com/">Docker</a> containers have gained significant popularity lately among Developer and Ops communities alike. When we started to revisit our own container technology to support Docker, we found there were different types of container technologies that have different use cases.</p><p>In this article, we delve a little deeper into container technologies and the different types of containers.</p><h3>The need for containers</h3><p>Hypervisor based virtualization technologies have existed for a long time now. Since a hypervisor or full virtualization mechanism emulates the hardware, you can run any operating system on top of any other, Windows on Linux, or the other way around. Both the guest operating system and the host operating system run with their own kernel and the communication of the guest system with the actual hardware is done through an abstracted layer of the hypervisor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*govo1m_MDq9TImkJ.jpg" /></figure><p>This approach usually provides a high level of isolation and security as all communication between the guest and host is through the hypervisor. This approach is also usually slower and incurs significant performance overhead due to the hardware emulation. To reduce this overhead, another level of virtualization called “operating system virtualization” or “container virtualization” was introduced which allows running multiple isolated <a href="https://en.wikipedia.org/wiki/User_space">user space</a> instances on the same kernel.</p><h3>What are containers?</h3><p>Containers are the products of operating system virtualization. They provide a lightweight virtual environment that groups and isolates a set of processes and resources such as memory, CPU, disk, etc., from the host and any other containers. The isolation guarantees that any processes inside the container cannot see any processes or resources outside the container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CzUfdpmf_gmcS8wC.jpg" /></figure><p>The difference between a container and a full-fledged VM is that all containers share the same kernel of the host system. This gives them the advantage of being very fast with almost <a href="https://en.wikipedia.org/wiki/Operating-system-level_virtualization#Overhead">zero performance overhead</a> compared with VMs. They also utilize the different computing resources better because of the shared kernel. However, like everything else, sharing the kernel also has its set of shortcomings.</p><ul><li>Type of containers that can be installed on the host should work with the kernel of the host. Hence, you cannot install a Windows container on a Linux host or vice-versa.</li><li>Isolation and security — the isolation between the host and the container is not as strong as hypervisor-based virtualization since all containers share the same kernel of the host and there have been cases in the past where <a href="https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9357">a process in the container has managed to escape into the kernel space of the host</a>.</li></ul><h3>Common cases where containers can be used</h3><p>As of now, I have noticed that containers are being used for two major uses — as a usual operating system or as an application packaging mechanism. There are also other cases like using <a href="http://www.flockport.com/flockport-labs-use-lxc-containers-as-routers/">containers as routers</a> but I don’t want to get into those in this blog.</p><p>I like to classify the containers into special types based on how they can be used. Although I will also point out that it is not a must to use a container technology for just that case, and you may very well use it for other cases. I’ve classified them this way because I find certain technologies easier to use for certain cases. Based on the two uses I mentioned above I’ve classified containers as OS containers and application containers.</p><h3>OS containers</h3><p>OS containers are virtual environments that share the kernel of the host operating system but provide user space isolation. For all practical purposes, you can think of OS containers as VMs. You can install, configure and run different applications, libraries, etc., just as you would on any OS. Just as a VM, anything running inside a container can only see resources that have been assigned to that container.</p><p>OS containers are useful when you want to run a fleet of identical or different flavors of distros. Most of the times containers are created from templates or images that determine the structure and contents of the container. It thus allows you to create containers that have identical environments with the same package versions and configurations across all containers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WN4O0DAm4opoFw3I.jpg" /></figure><p>Container technologies like LXC, OpenVZ, Linux VServer, BSD Jails and Solaris zones are all suitable for creating OS containers.</p><h3>Application containers</h3><p>While OS containers are designed to run multiple processes and services, application containers are designed to package and run a single service. Container technologies like Docker and Rocket are examples of application containers. So even though they share the same kernel of the host there are subtle differences make them different, which I would like to talk about using the example of a Docker container:</p><h4>Run a single service as a container</h4><p>When a Docker container is launched, it <a href="https://docs.docker.com/reference/run/">runs a single process</a>. This process is usually the one that runs your application when you create containers per application. This very different from the traditional OS containers where you have multiple services running on the same OS.</p><h4>Layers of containers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*wq_r1OkptlOSUyp4.png" /></figure><p>Any RUN commands you specify in the <a href="https://docs.docker.com/reference/builder/">Dockerfile</a> creates a new <a href="https://docs.docker.com/terms/layer/">layer</a> for the container. In the end when you run your container, Docker combines these layers and runs your containers. Layering helps Docker to reduce duplication and increases the re-use. This is very helpful when you want to create different containers for your components. You can start with a base image that is common for all the components and then just add layers that are specific to your component. Layering also helps when you want to rollback your changes as you can simply switch to the old layers, and there is almost no overhead involved in doing so.</p><h4>Built on top of other container technologies</h4><p>Until some time ago, <a href="http://www.infoq.com/news/2014/03/docker_0_9">Docker was built on top of LXC</a>. If you look at the <a href="https://docs.docker.com/faq/">Docker FAQ</a>, they mention a number of points which point out the differences between LXC and Docker.</p><p>The idea behind application containers is that you create different containers for each of the components in your application. This approach works especially well when you want to deploy a distributed, multi-component system using the microservices architecture. The development team gets the freedom to package their own applications as a single deployable container. The operations teams get the freedom of deploying the container on the operating system of their choice as well as the ability to scale both horizontally and vertically the different applications. The end state is a system that has different applications and services each running as a container that then talk to each other using the APIs and protocols that each of them supports.</p><p>In order to explain what it means to run an app container using Docker, let’s take a simple example of a three-tier architecture in web development which has a PostgreSQL data tier, a Node.js application tier and an Nginx as the load balancer tier.</p><p>In the simplest cases, using the traditional approach, one would put the database, the Node.js app and Nginx on the same machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/0*G1IQFl08iYBbHND0.jpg" /></figure><p>Deploying this architecture as Docker containers would involve building a container image for each of the tiers. You then deploy these images independently, creating containers of varying sizes and capacity according to your needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/0*BSWxB9IBgxgvcmlL.jpg" /></figure><h2>Operating System Containers vs. Application Containers</h2><p>So in general when you want to package and distribute your application as components, application containers serve as a good resort. Whereas, if you just want an operating system in which you can install different libraries, languages, databases, etc., OS containers are better suited.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/0*-MP7WQYqKyClVxo3.jpg" /></figure><p>In the next article, we will look at the security aspects of running containers. Stay tuned!</p><p><em>A version of this article originally appeared on </em><a href="https://blog.risingstack.com/operating-system-containers-vs-application-containers/"><em>RisingStack</em></a><em>. Written by Akshay Karle.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbeb6e09aaa0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/docker-containers/types-of-container-technologies-cbeb6e09aaa0">Types of Container Technologies</a> was originally published in <a href="https://medium.com/docker-containers">Docker Containers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Snap CI currently sets up build environments]]></title>
            <link>https://medium.com/docker-containers/how-snap-ci-currently-sets-up-build-environments-d24e5dad4b00?source=rss----d1c9a66c3239---4</link>
            <guid isPermaLink="false">https://medium.com/p/d24e5dad4b00</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <dc:creator><![CDATA[Snap CI]]></dc:creator>
            <pubDate>Wed, 05 Aug 2015 23:16:42 GMT</pubDate>
            <atom:updated>2015-08-06T16:11:38.402Z</atom:updated>
            <content:encoded><![CDATA[<p>This is Part 1 of the blog series on “Bringing Docker Support to Snap CI”. In this blog, we talk about how Snap currently provides build environments for user builds.</p><p>Snap CI is a hosted CI/CD service that allows users to setup build and deployment pipelines for their code repositories.</p><p>Users that set up builds expect their builds to start as soon as they push their code to GitHub. In order to achieve this goal, we make sure our build machines are always prepared and ready to build as soon as we receive any build requests from GitHub. These build machines should be identical and all should include the latest languages, databases and libraries required by SnapCI’s wide customer base. On top of this, users can customize their dependency versions, environment variables, install their choice of database, compiler or SDK.</p><h3>Challenges in a hosted CI server setup</h3><ul><li>Multi-tenancy — A hosted CI solution cannot afford to run dedicated instances per customer if they want to give low price points to users.</li><li>Isolation — Every build that runs must be completely isolated from previous or concurrent builds.</li><li>Security — A user build should not be able to break out and affect other users in any way.</li><li>Identical environments — Every build environment must be identical and must start from a clean state.</li><li>Fast provisioning — We should be able to quickly provision build environments upon user request.</li></ul><p>To fulfill these criteria, we had to leverage virtualization techniques for running user builds.</p><h3>Virtualization techniques</h3><h4>Hypervisor based virtualization</h4><p>Hypervisor based virtualization technologies like <a href="http://www.vmware.com/">VMWare</a>, <a href="https://www.virtualbox.org/">VirtualBox</a> and <a href="http://www.xenproject.org/">Xen</a> that allow running a full OS on virtual hardware (guest OS), can address these challenges by running each build inside a virtual machine (VM). However, the hypervisor layer (the layer that manages the guest OS) adds significant, prohibitive overhead to the performance.</p><blockquote><em>“While VMs excel at isolation, they add overhead when sharing data between guests or between the guest and hypervisor. Usually such sharing requires fairly expensive marshaling and hypercalls. In the cloud, VMs generally access storage through emulated block devices backed by image files; creating, updating, and deploying such disk images can be time-consuming and collections of disk images with mostly duplicate contents can waste storage space.” [</em><a href="http://domino.research.ibm.com/library/cyberdig.nsf/papers/0929052195DD819C85257D2300681E7B/$File/rc25482.pdf"><em>IBMResearchReport</em></a><em>]</em></blockquote><h4>Container based virtualization</h4><p><a href="https://www.linux.com/component/content/article/186-virtualization/300057-containers-vs-hypervisors-choosing-the-best-virtualization-technology-">Linux container based virtualization</a> on the other hand, is a virtualization method where the kernel of an operating system allows multiple, isolated user-space instances. All containers share the same kernel, which means it doesn’t have the same overhead as a hypervisor and is instead very efficient and fast-loading.</p><p>Since we wanted to offer a fast, Linux-based CI system to our end users, containers seemed like the way forward.</p><p>However, back in early 2012 when Snap started, our options were limited. There were only a few major container-based virtualization technologies available for Linux:</p><ul><li><a href="https://linuxcontainers.org/">LXC</a> — LXC was still in its infancy and development was in full swing</li><li><a href="https://en.wikipedia.org/wiki/Linux-VServer">Linux-VServer</a> — This was stable but was running on a very old kernel then. Also, there was not very much of community support available at the time</li><li><a href="https://openvz.org/Main_Page">OpenVZ</a> — OpenVZ had been stable for quite a few years and had most features that SnapCI needed</li></ul><h3>Choosing OpenVZ</h3><p>Back when we started Snap in 2012, we chose OpenVZ because it had already been production ready for a few years, provided isolation in all the different <a href="https://lwn.net/Articles/531114/">namespaces</a> and included most of the features we were looking for. For e.g. with OpenVZ, we could provide root access within a container without being privileged on the host or other containers. This allowed users to have admin privileges required to customize their build environment on the container but at the same time secured our users against a major attack vector that other container technologies were vulnerable to at that time. [<a href="https://lwn.net/Articles/532593/">UserNamespaces</a>]</p><p>As of today, every build on SnapCI runs in an OpenVZ container. When a build triggers, we start up a container, run the build and when the build completes we use the OpenVZ snapshots to restore the container to a clean state. This ensures that we don’t leave behind any sensitive user data and the fact that all containers remain identical.</p><p>Over the past few years, we have seen a lot of excitement and improvements in container technologies -</p><ul><li>LXC became <a href="https://lwn.net/Articles/587545/">production ready</a></li><li><a href="https://www.docker.com/">Docker</a> became <a href="https://blog.docker.com/2014/06/its-here-docker-1-0/">production ready</a></li><li><a href="https://github.com/coreos/rocket">Rocket</a> was announced although not production ready</li></ul><h2>Bringing Docker Support</h2><p>Docker especially has gained significant traction in the last few months, and we’ve been getting numerous requests from our users to let them use Docker to build and test their containers as part of their build pipelines in Snap. However OpenVZ our current container technology, did not support running Docker until <a href="https://openvz.org/Docker_inside_CT">a few weeks ago</a>but, we ran into problems trying run Docker inside our custom OpenVZ containers and wanted to move away from a custom and old kernel required to run OpenVZ containers.</p><p>So, after three years, we are re-visiting our choice of container technology.</p><p>LXC and Docker have improved significantly over the last few years, and we took this opportunity to explore them.</p><p>In next article in this series, we present our views about these new container technologies and our reasons for choosing the next container technology going forward for running your builds on Snap.</p><p>If you’re interested in previewing Docker on Snap CI, <a href="https://snap-ci.com/lp-3060aee13b/docker-preview/">you can sign up here</a>.</p><p><em>This post was previously published on </em><a href="http://snap.ci/medium_buildenv"><em>Snap CI’s The Pipeline blog</em></a><em>. Written by Akshay Karle</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d24e5dad4b00" width="1" height="1" alt=""><hr><p><a href="https://medium.com/docker-containers/how-snap-ci-currently-sets-up-build-environments-d24e5dad4b00">How Snap CI currently sets up build environments</a> was originally published in <a href="https://medium.com/docker-containers">Docker Containers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>