Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How to deploy AstrBot via Docker and what are the key steps?

2025-08-25 1.5 K

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

  1. browser accesshttp://服务器IP:6185
  2. Login with default account (astrbot)/password (astrbot)
  3. 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.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish