A starter kit to dockerize a Business Intelligence Project

Hui Fang Yeo

Customize Atoti Dockerfile for quick deployment

Docker is one of the leading open-source DevOps containerization tools. It enables us to package our applications and the dependencies into containers, making it easy to deploy and run the application. Here, we will see how to dockerize a BI project.


You should have Docker installed on your machine. Refer to the Docker get-started guide if you haven’t.

UPDATE: This article is based on an older version of Atoti. Check out the latest Atoti documentation for the most updated information.

Steps to dockerize

The diagram below shows how to get an application dockerized. Refer to this Docker blog for more details.


Image from Docker blog


Some high-level definitions:

  • Dockerfile: Set of instructions to build the Docker image. This includes the dependencies installation, folders creations etc.
  • Docker image: Set of processes as outlined in the Dockerfile to create the container.
  • Docker containers: An instance of the Docker image with the application ready for use.

Instead of going through the full details of how to dockerize, we speed up the process of dockerizing an Atoti Business Intelligence project with the ready-to-use Atoti Docker image.

Atoti Docker image

Atoti distributes an official image on Docker Hub. The image comes with the Atoti library and its JupyterLab extension ready to use.

You may use the Dockerfile as a base image to add new layers necessary for your application.

In this article, we will define a password instead of the token authentication that is defaulted in JupyterLab. We will modify the Dockerfile as highlighted below:



Note: You could also disable authentication altogether by setting the token and password to empty strings. This is however not recommended in its documentation.

You can rebuild the image with the command:

docker build -t Atoti .

Running the Docker image

Before you run the command to run the Docker image, remember to create a volume to persist the data such as your notebooks and files:

docker volume create Atoti-volume

Run the image using the create volume with the following command:

docker run — publish 8888:8888 — volume Atoti-volume:/home/jovyan/work Atoti/atoti

Access the BI dashboards

We can now run our Atoti notebooks, build and access the dashboards that are saved previously.



Check out the Atoti documentation to find out more about what you can do with it.


Like this post ? Please share

Latest Articles

View All

Hierarchy Fundamentals in Atoti

Read More

Retail Banking Analytics with Atoti

Read More

Putting Python Code in Production

Read More


Join our Community for latest insights and information about Atoti.