Docker Quick Deployment

Running Lemon

System Requirements

A system with a modern processor and a minimum of 4GB RAM is recommended to run Lemon.

Prerequisites

MacOS

Docker Desktop

  1. Install Docker Desktop on Mac.
  2. Open Docker Desktop, go to Settings > Advanced and ensure Allow the default Docker socket to be used is enabled.

Linux

Tested with Ubuntu 22.04.

Docker Desktop

  1. Install Docker Desktop on Linux.

Windows

WSL

  1. Install WSL.
  2. Run wsl --version in powershell and confirm Default Version: 2.

Docker Desktop

  1. Install Docker Desktop on Windows.
  2. Open Docker Desktop, go to Settings and confirm the following:

  3. General: Use the WSL 2 based engine is enabled.

  4. 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
--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}:/app/workspace
--interactive
--tty
hexdolemonai/lemon:latest make run

results matching ""

    No results matching ""