DEV Community

Cover image for Docker: What it is and How to Use it With Python

Docker: What it is and How to Use it With Python

Django Stars on July 27, 2018

This is an introductory tutorial on Docker containers. By the end of this article, you will know how to use Docker on your local machine. Along wit...
Collapse
 
ashinzekene profile image
Ashinze Ekene

This is the best article I've ever read about Docker. Very awesome article

Collapse
 
djangostars profile image
Django Stars

Thank you!

Collapse
 
mbbroberg profile image
Matt Broberg

This article is excellent. I'm working to encapsulate my Python development in containers and I think this got me over the edge of doing so.

Side note - do you have any advice for setting up dev environments?

Thanks!

Collapse
 
andelamallan profile image
Allan

This was an awesome read. Demystifying Docker should be the title. Thanks

Collapse
 
ikemkrueger profile image
Ikem Krueger

What is the difference between an image and a volume? When to use what?

Collapse
 
djangostars profile image
Django Stars

Image keeps all necessary binaries and libraries to be able to run required application, it could be described in Dockerfile. When you start new container it’s created from this image. To effectively utilize hardware resources data in containers should be immutable. In other words containers shouldn’t keep data produced by application you run inside container. And volume is directory mounted to container which keeps mutable data. You can think of it as a shared folder in virtual machine

Collapse
 
abdurrahmaanj profile image
Abdur-Rahmaan Janhangeer • Edited

thanks for python addition! awesome docker article!