Machine Learning Docker Template


  1. All data scientists can quickly setup an identical development environment based on Docker that encourages good software engineering practices.
  2. Dependency management is handled during the environment’s startup by Miniconda and requires minimal manual changes.
  3. Notebooks are encouraged for exploration. However, for production purposes notebooks must be version controlled, parametrized and run using Papermill.


File structure
  1. Dockerfile defines the development environment and uses Miniconda as base image
FROM continuumio/miniconda3
RUN conda env create -f conda.yml
RUN echo "source activate dev" > ~/.bashrc




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Effective Agile: Do You Categorize Your Stories?

Understanding the Use of Interface and Abstract Classes

Handle an Incoming Call With Go

What is SonarQube?

Coming Elements NFT with More Connotation Than CryptoPunks!

An Introduction to Cloud Endpoints

How to Build a Kubernetes Environment & Scale Production

Product Strategists Do More Than You Realize

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Novotny

Adam Novotny

More from Medium

Dockerize & Deploy your Machine Learning model

Deploying your first ML model as a REST endpoint using Flask and Bootstrap.

Fuzzy Matching, Word Vectors and Google ML Kit: Lessons Learned in Text Analysis and Classification

What is Automated Machine Learning- AutoML?