Docker

Docker

Docker is an open source project that automates the process of deploying applications inside containers. One way to think about this software is that it is a lightweight version of virtual machines. 

Why Docker?

I have only recently began to use Docker and have really enjoyed the process of learning and using this useful piece of software. I use it for the following reasons:

  1. Easily shared amongst colleagues/collaborators/team members regardless of their environment setup.
  2. Replicate the development/test/production environment to ensure that what you have developed will work and run in the various envionments.
  3. Plenty of images available to use in your docker containers from Docker Hub.

Installation

You can install Docker by downloading the software from dockers official website here

From my experience Docker and Docker Compose work seemlessly when working on a linux(like) environment. It is possible to use Docker on windows but you may encounter some dependency issues and require to download additional software/packages.

Docker Compose

Compose is a tool to define and run multiple container Docker applications. 

Install Docker Compose

There are a number of ways to install Docker Compose. You can read about the various methods here. My preference is to use pypi, if you have pypi installed on your machine you can install Docker Compose via the following command:

pip install docker-compose

Next Steps

Check out my tutorial on using Docker Compose for building a Django app.

Subscribe to our mailing list

* indicates required