elyra Docker & Self-Hosted Deployment

GitHub

Elyra extends JupyterLab with an AI centric approach.

1,991 stars Python Python 1 file ยท ~17,517 tokens #ai#airflow#anaconda#apache-airflow#binder
1. Pull Image (DOCKERHUB) docker pull elyra-ai/elyra:latest
2. Docker Run (1-Click Launch) docker run -d --name elyra --restart always elyra-ai/elyra:latest
3. Podman Run podman run -d --name elyra --restart always elyra-ai/elyra:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/elyra-ai/elyra:latest
5. ORAS Pull (OCI Artifact) oras pull elyra-ai/elyra:latest
etc/docker/kubeflow/Dockerfile
# syntax=docker/dockerfile:experimental
#
# Copyright 2018-2026 Elyra Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Ubuntu 22.04 LTS (Jammy Jellyfish)
# Repository: https://github.com/kubeflow/kubeflow/tree/master/components/example-notebook-servers
FROM ghcr.io/kubeflow/kubeflow/notebook-servers/jupyter:v1.8.0

ARG TAG="dev"
ARG ELYRA_VERSION
ARG ELYRA_PACKAGE=elyra-"$ELYRA_VERSION"-py3-none-any.whl

# - Include with KFP support and component examples ('kfp-examples')
ARG ELYRA_EXTRAS=[kfp,kfp-examples,airflow-gitlab]

# Includes the readme as a token file for COPY that always exists, otherwise production builds fail when whl not present
COPY README.md ${ELYRA_PACKAGE}* ./

USER root
RUN chown jovyan:users ./"${ELYRA_PACKAGE}"
USER jovyan

# Update pip
RUN python3 -m pip install --upgrade pip

# Install Elyra
RUN python3 -m pip install --quiet --no-cache-dir "$ELYRA_PACKAGE""$ELYRA_EXTRAS"

# Create and customize Elyra config file to enable only KFP runtime
RUN jupyter elyra --generate-config
RUN sed -i -e "s/# c.PipelineProcessorRegistry.runtimes = \[\]/c.PipelineProcessorRegistry.runtimes = \['kfp'\]/g" $(jupyter --config-dir)/jupyter_elyra_config.py

# Cleanup
USER root
RUN rm -f README.md ${ELYRA_PACKAGE}
USER jovyan

# Install component examples catalog
#  - this will fail if the 'kfp-examples' pip extra is not installed
RUN elyra-metadata create component-catalogs \
    --schema_name=elyra-kfp-examples-catalog \
    --display_name="Kubeflow Pipelines examples" \
    --runtime_type=KUBEFLOW_PIPELINES \
    --categories="['examples']"