Using code envs with containerized execution

Container-based execution is compatible with code environments for:

  • Python recipes
  • R recipes
  • Custom in-memory machine learning models
  • Deep learning models

To make a code environment usable for containerized execution, you must select the containerized execution configuration(s) for which the code environment Docker image must be available. This setting is configured in the “Containerized execution” tab of the code env settings.

Updating code envs

Update a code env from the code env administration page. This causes corresponding Docker images to be built for the code env (one on top of each base image from the selected container configurations). Each time you use this code env and one of the selected container configurations to run a recipe or model, then the corresponding Docker image will be used.

Warning

After each upgrade of DSS, you must rebuild all base images and then all code env images. You can rebuild code env images by running ./bin/dssadmin build-code-env-images --all.