LemonAI
  • Getting Started
    • Get to know Lemon quickly
  • Function Introduction
    • Quick to get started
    • Setting
      • Basic Settings
      • Model Service Settings
        • WanJie Data
        • DeepSeek
        • SiliconFlow
        • Volcengine
        • Bailian
        • O3
        • OpenAI
        • Custom Service Provider
      • Search Service Settings
        • Search Services
          • Tavily network login registration tutorial
      • Default Model Settings
      • Experience Library
  • Development Deployment Guidelines
    • Start local development quickly
    • Docker Quick Deployment
      • Mac Docker Deployment Tutorial
        • Method 1 (recommend) Docker deployment Mac netw...
        • Method 2 Docker Mac Command deployment document
        • Method 3: Docker Mac client installation and de...
      • Windows Docker Deployment Tutorial
        • Method 1 (recommend) Docker deployment Windows ...
        • Method 2 Docker Windows command deployment docu...
        • Method 3 Docker Windows client installation and...
    • Profile Introduction
    • Deployment FAQ
  • Version Update
    • Lemon v0.1 Update Description
  • protocol
    • LICENSE
    • Service agreement
    • Privacy Policy
Powered by GitBook
On this page
  1. Development Deployment Guidelines
  2. Docker Quick Deployment
  3. Mac Docker Deployment Tutorial

Method 2 Docker Mac Command deployment document

PreviousMethod 1 (recommend) Docker deployment Mac netw...NextMethod 3: Docker Mac client installation and de...

Checklist of system requirements for running Lemon AI

Before you begin, make sure your system meets the following requirements:

System Requirements

  • çš„ MacOS

  • AndWindows

It is recommended to use a system with a modern processor (Intel i5/AMD Ryzen 5 or above is recommended) and at least 4GB of RAM to run Lemon AI.

The MAC System

Deployment Method 2: deploy Lemon AI with Docker command (applicable to users who can access the Docker official website)

I. Install Docker Desktop

  1. (Official website:), download the corresponding Docker according to the Mac computer chip (Intel chip selects x86_64, Apple chip selects arm64).

  1. After downloading, install the software installation process. After the installation is complete, start Docker Desktop.

  2. Open Docker Desktop and goSettings > AdvancedAnd ensureAllow the default Docker socket to be usedEnabled.

2. Launch the Lemon AI application

1.Desktop startup state, in the mac computer, start the console to search for the terminal, and start the terminal

2. Enter commands in sequence in the terminal, start executing commands, and wait for execution to complete.

  • Enter in the terminal and execute the pull Lemon AI sandbox command.

Dockerpull hexdo lemonai/lemon-runtime Sandbox: latest

If the following error occurs when executing the pull command, it proves that the pull fails (it may not have the ability to access the external network). It is recommended to use the first method to download the network disk directly for installation.

  • After the sandbox pull command is executed, continue to enter and run the Lemon AI program command in the terminal.

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}:/app/workspace \ --volume ${WORKSPACE_BASE:-$PWD/data}:/app/data \ --interactive \ --tty \ hexdolemonai/lemon:latest make run

3. After the command is executed, docker will display the Lemon-app file, copy the access link in the terminal or Lemon-app in Containers in docker, click the port link, and jump to the page for access.

4. On the local Web page of Lemon AI, you need to configure the self-subscription model service, search service and default model in turn in the settings. After the configuration is completed, you can have the Lemon AI task question-and-answer experience.

Support
Docker Desktop
Support for WSL
Docker Desktop çš„
Install Docker Desktop on Mac
https://desktop.docker.com