Custom Docker Images

Managing dependencies is easier with docker files that define the execution environment. The default Disco images support many use-cases, but some users require more control. The following is how to utilize your own docker images with Disco. Any docker image can be used.

Creating a custom docker image

  1. Go to the Settings screen

  2. Click the Docker Images tab ➡ click Add Docker Image

In the following form, select the docker registry. The following are supported:

  • DockerHub

  • AWS

  • GCP

  • Azure

  • Packet

Enter the path to the docker. If you are using DockerHub enter the image name and tag as shown. For other repositories you need to enter the full path e.g.

You can define an entry point in this form. The default entry point is python -u. If anENTRYPOINT is defined in the image itself - it will be ignored.

You can select this image to be the default for when this account launches a job from the CLI and SDK.

When using custom docker images, python dependencies won't be automatically installed (when passed as constants requirements.txt) as they do when using the Disco docker image.