Docker Setup for Serena (Experimental)
Description
⚠️ **EXPERIMENTAL FEATURE**: The Docker setup for Serena is still experimental and has some limitations. Please read this entire document before using Docker with Serena.
Installation
claude install-skill https://github.com/oraios/serena README
Docker Setup for Serena (Experimental)
⚠️ **EXPERIMENTAL FEATURE**: The Docker setup for Serena is still experimental and has some limitations. Please read this entire document before using Docker with Serena.
Overview
Docker support allows you to run Serena in an isolated container environment, which provides better security isolation for the shell tool and consistent dependencies across different systems.
Benefits
- undefined
Important Usage Pointers
Configuration
Serena's configuration and log files are stored in the container in `/workspaces/serena/config/`. Any local configuration you may have for Serena will not apply; the container uses its own separate configuration.
You can mount a local configuration/data directory to persist settings across container restarts (which will also contain session log files). Simply mount your local directory to `/workspaces/serena/config` in the container. Initially, be sure to add a `serena_config.yml` file to the mounted directory which applies the following special settings for Docker usage:
# Disable the GUI log window since it's not supported in Docker
gui_log_window: False
# Listen on all interfaces for the web dashboard to be accessible from outside the container
web_dashboard_listen_address: 0.0.0.0
# Disable opening the web dashboard on launch (not possible within the container)
web_dashboard_open_on_launch: False
Set other configuration options as needed.
Project Activation Limitations
- undefined
Language Support Limitations
The default Docker image does not include dependencies for languages that require explicit system-level installations. Only languages that install their requirements on the fly will work out of the box.
Dashboard Port Configuration
The web dashboard runs on port 24282 (0x5EDA) by default. You can configure this using environment variables:
# Use default ports
docker-compose up serena
# Use custom ports
SERENA_DASHBOARD_PORT=8080 docker-compose up serena
⚠️ **Note**: If the local port is occupied, you'll need to specify a different port using the environment variable.
Line Ending Issues on Windows
⚠️ **Windows Users**: Be aware of potential line ending inconsistencies:
- undefined
Related Agents
Workflow Automate
| You are a workflow automation expert specializing in creating efficient CI/CD pipelines, GitHub Acti... | - | [wshobson/agents](https://github.com/wshobson/agents) |
DevOps & Infrastructure community terraform-specialist
| You are a Terraform/OpenTofu specialist focused on advanced infrastructure automation, state managem... | opus | [wshobson/agents](https://github.com/wshobson/agents) |
DevOps & Infrastructure community kubernetes-architect
| You are a Kubernetes architect specializing in cloud-native infrastructure, modern GitOps workflows,... | opus | [wshobson/agents](https://github.com/wshobson/agents) |
DevOps & Infrastructure community gitlab-ci-patterns
| Comprehensive GitLab CI/CD pipeline patterns for automated testing, building, and deployment. | - | [wshobson/agents](https://github.com/wshobson/agents) |
DevOps & Infrastructure community secrets-management
| Secure secrets management practices for CI/CD pipelines using Vault, AWS Secrets Manager, and other... | - | [wshobson/agents](https://github.com/wshobson/agents) |
DevOps & Infrastructure community deployment-pipeline-design
| Architecture patterns for multi-stage CI/CD pipelines with approval gates and deployment strategies. | - | [wshobson/agents](https://github.com/wshobson/agents) |
DevOps & Infrastructure community