Quick Start
INFO
LakeSail offers a fully managed platform and enterprise support for running Sail in production, deployed in your own cloud account. Get in touch to learn more.
You can quickly experiment with Sail by building the Docker image from the Sail Python package.
WARNING
This method is not suitable for production deployments. Please follow this guide for more information about building the Sail Docker image from source.
In an empty directory, create a Dockerfile with the following content.
ARG PYTHON_VERSION=3.14
FROM python:${PYTHON_VERSION}-slim
ARG PYSAIL_VERSION
ARG PYSPARK_VERSION=4.2.0
RUN python3 -m pip install --no-cache-dir "pysail==${PYSAIL_VERSION}"
RUN python3 -m pip install --no-cache-dir "pyspark-client==${PYSPARK_VERSION}"
ENTRYPOINT ["/usr/local/bin/sail"]WARNING
Please make sure to choose a Python version that is compatible with the PySpark version you are using. For example, PySpark 3.5 supports Python 3.8, 3.9, 3.10, and 3.11, so later versions of Python may have compatibility issues.
In the same directory, run the following command to build the Docker image.
docker build -t sail:latest --build-arg PYSAIL_VERSION=0.7.0+f0b137d .