update readme for docker

This commit is contained in:
Wendong
2025-03-10 11:20:55 +08:00
parent 34d9384a58
commit 5c5306b219
2 changed files with 21 additions and 8 deletions

View File

@@ -147,8 +147,6 @@ cp owl/.env_template .env
## **Running with Docker**
If you prefer to run the OWL project using Docker, we provide full Docker support:
```bash
# Clone the repository
git clone https://github.com/camel-ai/owl.git
@@ -158,14 +156,22 @@ cd owl
cp owl/.env_template owl/.env
# Edit the .env file and fill in your API keys
# Build and run the Docker container
docker-compose up -d
# Option 1: Using docker-compose directly
cd .container
docker-compose up -d
# Run OWL inside the container
docker-compose exec owl bash -c "xvfb-python run.py"
# Option 2: Build and run using the provided scripts
cd .container
chmod +x build_docker.sh
./build_docker.sh
# Run OWL inside the container
./run_in_docker.sh "your question"
```
For more detailed Docker usage instructions, including cross-platform support, optimized configurations, and troubleshooting, please refer to [DOCKER_README.md](DOCKER_README_en.md).
For more detailed Docker usage instructions, including cross-platform support, optimized configurations, and troubleshooting, please refer to [DOCKER_README.md](.container/DOCKER_README_en.md).
# 🚀 Quick Start