Docker deployment is the most recommended installation method for AstrBot, and the process is as follows:
Environmental preparation phase
- Install Docker Engine (recommended version 20.10+)
- Ensure port 6185 is open (or customize another port)
Core deployment commands
Execute the following single command to complete the deployment:
docker run -d -p 6185:6185 -v astrbot-data:/app/data soulter/astrbot:latest
Description of important parameters
- -p 6185:6185: Port mapping inside and outside the container
- -v astrbot-data: Persistent storage of configuration data
- -d: Background Running Mode
follow-up operation
- browser access
http://服务器IP:6185 - Login with default account (astrbot)/password (astrbot)
- Configuring the Model API and Messaging Platform in the WebUI
Special Note: Additional mapping is required to utilize the code execution feature./var/run/docker.sockDocumentation.
This answer comes from the articleAstrBot: AI Chatbot Access Platform with WebUIThe




























