You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
<meta name="description" content="Docker is a container management system often used for deploying web applications. Learn more about Docker on Full Stack Python.">
<div style="padding: 0 0 20px 0; margin: 0 0 20px 0; background-color: #22B24C;">
<div class="container">
<h2 style="color: #fff; margin: 20px 40px 0 0;"><a href="https://www.gumroad.com/l/python-deployments" style="color: #fff">The Full Stack Python Guide to Deployments book</a> has been released!</h2>
</div>
</div> <a href="https://github.com/makaimc/fullstackpython.com"><img style="position: absolute; top: 0; right: 0; border: 0;" src="/theme/img/fork.png" alt="Fork me on GitHub"></a>
<p>Docker is an <a href="https://github.com/docker/docker">open source</a>
infrastructure management platform for running and deploying software. The
Docker platform is constantly evolving so an exact definition is currently
a moving target.</p>
<h2>Why is Docker important?</h2>
<p>Docker can package up applications along with their necessary operating system
dependencies for easier deployment across environments. In the long run it
has the potential to be the abstraction layer that easily manages containers
running on top of any type of server, regardless of whether that server is
on Amazon Web Services, Google Compute Engine, Linode, Rackspace or elsewhere.</p>
<h2>Docker resources</h2>
<ul>
<li>
<p><a href="http://www.centurylinklabs.com/what-is-docker-and-when-to-use-it/">What is Docker and When to Use It</a>
clearly delineates what Docker is and what it isn't. This is a good article
for when you're first wrapping your head around Docker conceptually.</p>
</li>
<li>
<p><a href="https://github.com/atbaker">Andrew Baker</a> presented a fantastic tutorial
at <a href="http://andrewtorkbaker.com/pyohio-docker-101-tutorial">PyOhio</a> on
<a href="https://github.com/atbaker/docker-tutorial">beginner and advanced Docker usage</a>. Andrew also created
<a href="http://shop.oreilly.com/product/0636920035732.do">O'Reilly Introduction to Docker video</a> that's
well worth buying.</p>
</li>
<li>
<p><a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-getting-started">How to install Docker and get started</a>
provides a walkthrough for Ubuntu 13.04 for installing and beginning to
use Docker for development.</p>
</li>
<li>
<p><a href="http://blog.circleci.com/it-really-is-the-future/">It Really is the Future</a>
discusses Docker and containers in the context of whether it's all just a
bunch of hype or if this is a real trend for infrastructure automation.
This is a great read to set the context for why these tools are important.</p>
</li>
<li>
<p><a href="https://github.com/odewahn/docker-jumpstart/">Docker Jumpstart</a> is a
comprehensive introduction to what Docker is and how to get started with
using the tool.</p>
</li>
<li>
<p>If you want to quickly use Docker on Mac OS X, check out these concise
instructions
<a href="https://www.twilio.com/blog/2015/07/docker-workflow-on-osx-in-60-seconds.html">for setting up your Docker workflow on OS X in 60 seconds</a>.</p>
</li>
<li>
<p><a href="http://pythonforengineers.com/what-the-bleep-is-docker/">What the Bleep is Docker?</a>
is a plain English explanation with examples of what Docker provides and
what it can be used for in your environment.</p>
</li>
<li>
<p><a href="https://zwischenzugs.wordpress.com/2015/03/14/docker-in-practice-a-guide-for-engineers/">Docker in Practice - A Guide for Engineers</a>
is an explanation of the concepts and philosophy by the authors of the
new Manning Docker book in early access format.</p>
</li>
<li>
<p><a href="http://www.hokstad.com/docker/patterns">Eight Docker Development Patterns</a>
shares lessons learned and explains how to work with the containers so you
get more use out of them during development.</p>
</li>
<li>
<p><a href="https://bildung.xarif.de/xwiki/bin/Articles/The+Marriage+of+Ansible+and+Docker">The marriage of Ansible and Docker</a>
is a detailed look at how Docker and Ansible complement each other as
deployment tools.</p>
</li>
<li>
<p><a href="http://datakurre.pandala.org/2015/07/building-docker-containers-from-scratch.html">Building Docker containers from scratch</a>
is a short tutorial for creating a Docker container with a specific
configuration.</p>
</li>
</ul>
<h2>Python-specific Docker resources</h2>
<ul>
<li>
<p><a href="http://blog.dscpl.com.au/2014/12/hosting-python-wsgi-applications-using.html">Hosting Python WSGI applications using Docker</a>
shows how to use Docker in WSGI application deployments specifically using
mod_wsgi.</p>
</li>
<li>
<p><a href="https://www.digitalocean.com/community/tutorials/docker-explained-how-to-containerize-python-web-applications">How to Containerize Python Web Applications</a>
is an extensive tutorial that uses a Flask application and deploys it
using a Docker container.</p>
</li>
<li>
<p><a href="https://realpython.com/blog/python/docker-in-action-fitter-happier-more-productive/">Docker in Action - Fitter, Happier, More Productive </a>
is a killer tutorial that shows how to combine Docker with CircleCI to
continuously deploy a Flask application.</p>
</li>
<li>
<p><a href="http://handlebarcreative.tumblr.com/post/104881545637/deploying-django-applications-in-docker">Deploying Django Applications in Docker</a>
explains some of the concepts behind using Docker for Python deployments and
shows how to specifically use it for deploying Django. </p>
</li>
<li>
<p><a href="https://ochronus.com/docker-primer-django/">A Docker primer – from zero to a running Django app</a>
provides specific commands and expected output for running Django apps
with Docker and Vagrant.</p>
</li>
<li>
<p><a href="https://www.calazan.com/using-docker-and-docker-compose-for-local-django-development-replacing-virtualenv/">Using Docker and Docker Compose to replace virtualenv</a>
is a tutorial for using Docker instead of virtualenv for dependency
isolation.</p>
</li>
<li>
<p>Lincoln Loop wrote up
<a href="https://lincolnloop.com/blog/closer-look-docker/">a closer look at Docker</a>
from the perspective of Python developers handling deployments.</p>
</li>
<li>
<p>Curious how pip and Docker can be used together? Read this article on
<a href="https://jpetazzo.github.io/2013/12/01/docker-python-pip-requirements/">Efficient management Python projects dependencies with Docker</a>.</p>
</li>
</ul>
<h3>What do you want to learn next about deployments?</h3>
<a href="http://www.deploypython.com/"><img src="//static.fullstackpython.com/fsp-deployment-guide.png" alt="The Full Stack Python Guide to Deployments" width="100%"></a>
<p style="font-size: .8em; margin-top: 10px;">Searching for a complete, step-by-step deployment walkthrough? Learn more about <a href="http://www.deploypython.com/">The Full Stack Python Guide to Deployments book</a>.
</p>
</div>
</div> <div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-head"><a href="/table-of-contents.html" style="color: #fff;">Table of Contents</a></h3>
<a href="/about-author.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>About the Author</a>
</div>
</div>
<div class="panel panel-success">
<div class="panel-body">
<a href="http://www.deploypython.com/"><img src="//static.fullstackpython.com/fsp-deployment-guide.png" alt="The Full Stack Python Guide to Deployments" width="100%"></a>
<p style="font-size: .8em; margin-top: 10px;">Searching for a complete, step-by-step deployment walkthrough? Learn more about <a href="http://www.deploypython.com/">The Full Stack Python Guide to Deployments book</a>.