Docker images
  • Dark
  • PDF

Docker images

  • Dark
  • PDF

Custom Docker Image

Dataloop enables you to deploy in the FaaS module a custom docker image, to enrich your application with literally anything required for your project.
Deploying a docker image is as easy as providing the Docker image path when deploying the service:

service = package.deploy(

Deploy Docker Image to FAAS Service

After cloud storage connection, its deployment is performed as follows:
I) Select ‘Application Hub’ from main menu

II) Verify you are located in ‘Installed’ tab, and click on add function icon icon
III) Click on ‘App Config’ option (see below)
app config 2

IV) Insert the relevant URL in the ‘Docker image’ field (see below)
config in faas screen


When the service runner installs its requirement, it uses pip to install, therefore the service can fail if you don't migrate packages installed via pip to pip3. To avoid installation issues it is better to add the lines below to your Dockerfile.

RUN apt-get -y update \
  && apt-get install -y python3-pip python3-dev \
  && ln -s /usr/bin/python3 python \
  && ln -s /usr/bin/pip3 pip \

Root Access

When building a docker image indented to work with the Dataloop FaaS, all packages need to be installed using the --user option, to have root user permissions.

RUN pip3 install --user 
  dtlpy \

Using Private Docker Registry

Connect your docker to Dataloop using ECR (AWS) or GCR (GCP) private docker registries.

  1. Create an Organization-Integration of 'private container registry' type
  2. Specify the docker image details in the FaaS application-configuration

What's Next