# How Clay.io Uses Docker for Deployment and Zero-Downtime Updates

DevFeed: [How Clay.io Uses Docker for Deployment and Zero-Downtime Updates](<https://devfeed.tech/articles/10x-docker-at-clay-io-35613.md>)

Original publisher: [Read original article](<https://zolmeister.com/2014/12/10x-docker-at-clay-io.html>)

Author: Zoli Kahan

Published: 2014-12-15T06:00:00Z

Content type: tutorial

Language: en

Sources: [Zolmeister](<https://devfeed.tech/sources/zolmeister.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [Ansible](<https://devfeed.tech/topics/ansible.md>)

Tags: [ansible](<https://devfeed.tech/tags/ansible.md>), [containerization](<https://devfeed.tech/tags/containerization.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [docker](<https://devfeed.tech/tags/docker.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [github](<https://devfeed.tech/tags/github.md>)

## AI overview

This article explains how Clay.io uses Docker to isolate applications and manage deployments. It describes building and publishing Docker images, updating staging and production clusters with Ansible, using separate master and backup processes for zero-downtime updates, and rebuilding production static files with environment-specific variables.

## Source excerpt

10x: Docker at Clay.io Intro At Clay, our deploy process is fun. Seriously. Because we use Docker. Docker is a containerization tool that allows for easy application isolation and deployment. The basic idea is that Docker runs your application in a virtualized isolated environment, similar to a virtual machine, but without the overhead. You start with a 'base image', and then describe how to create a 'container' using a Dockerfile.