我服务器上面的镜像:

[root@iZ7xv85rf81ddudvprtpkrZ mnt]# docker images

REPOSITORY TAG IMAGE ID CREATED SIZE

registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr funasr-runtime-sdk-online-cpu-0.1.13 d003ad0f18b8 4 months ago 3.68GB

[root@iZ7xv85rf81ddudvprtpkrZ mnt]

下面是相关启动指令:

# 启动交互式容器

docker run -d -it \
  --name funasr-wss-interactive \
  -p 10095:10095 \
  -v /root/funasr/models:/workspace/models \
  --restart=always \
  --workdir /workspace/FunASR/runtime \
  registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-online-cpu-0.1.13 \
  bash

# 进入容器
docker exec -it funasr-wss-interactive bash

# 在容器内后台启动服务
nohup bash run_server_2pass.sh \
  --download-model-dir /workspace/models \
  --port 10095 \
  --certfile "" \
  --keyfile "" > /tmp/funasr.log 2>&1 &

# 查看进程
ps aux | grep funasr

# 查看日志
tail -f /tmp/funasr.log

# 确认服务正常后,退出容器(容器继续运行)
exit

Logo

火山引擎开发者社区是火山引擎打造的AI技术生态平台,聚焦Agent与大模型开发,提供豆包系列模型(图像/视频/视觉)、智能分析与会话工具,并配套评测集、动手实验室及行业案例库。社区通过技术沙龙、挑战赛等活动促进开发者成长,新用户可领50万Tokens权益,助力构建智能应用。

更多推荐