Skip to content

Docker installation

1. Set LEIP License Key

After you receive your license key via email, place it in the following location: ~/.leip/license.key.

If you'd like, export your license key as an environmental variable:

export LEIP_LICENSE_KEY=<your-license-key>
And then run:

mkdir -p ~/.leip && echo "$LEIP_LICENSE_KEY" > ~/.leip/license.key

2. Log in to container repository

Log in to Latent AI's container repository with the following command:

cat ~/.leip/license.key | docker login containers.latentai.io -u latentai --password-stdin

3. Start the Docker container

License key precedence

The LEIP_LICENSE_KEY environment variable will be checked first. If set, that key will be used; otherwise, the license file will be used. This allows a temporary override without modifying the default license file.

To start the Latent Assisted Label container, run the following command:

docker run -it \
    --gpus all \
    --shm-size 4g \
    -p 8080:80 \
    -e LEIP_LICENSE_KEY=$LEIP_LICENSE_KEY \
    -e LEIP_LICENSE_FILE=/tmp/license.key \
    -v ~/.leip/license.key:/tmp/license.key:ro \
    -v "$PWD":/data:rw \
    containers.latentai.io/latent-label

Latent Assisted Label is now running at http://localhost:8080 on your host machine.