Docker Quick Deployment
Running Lemon
System Requirements
MacOS with Docker Desktop support
Linux
Windows with WSL and Docker Desktop support
A system with a modern processor and a minimum of 4GB RAM is recommended to run Lemon.
Prerequisites
MacOS
Docker Desktop
Open Docker Desktop, go to
Settings > Advanced
and ensureAllow the default Docker socket to be used
is enabled.
Linux
Docker Desktop
Windows
WSL
Run
wsl --version
in powershell and confirmDefault Version: 2
.
Docker Desktop
Open Docker Desktop, go to
Settings
and confirm the following:
General:
Use the WSL 2 based engine
is enabled.Resources > WSL Integration:
Enable integration with my default WSL distro
is enabled.
note
The docker command below to start the app must be run inside the WSL terminal.
Start the App
The easiest way to run Lemon is in Docker.
docker pull hexdolemonai/lemon-runtime-sandbox:latest
docker run -it --rm --pull=always \
--name lemon-app \
--env DOCKER_HOST_ADDR=host.docker.internal \
--env ACTUAL_HOST_WORKSPACE_PATH=${WORKSPACE_BASE:-$PWD/workspace} \
--publish 5005:5005 \
--add-host host.docker.internal:host-gateway \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume ~/.cache:/.cache \
--volume ${WORKSPACE_BASE:-$PWD/workspace}:/workspace \
--volume ${WORKSPACE_BASE:-$PWD/data}:/app/data \
--interactive \
--tty \
hexdolemonai/lemon:latest make run
Last updated