You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

运行Memgraph Platform(Docker版)时如何启动mgconsole?

启动Memgraph Platform容器中的mgconsole

Memgraph Platform镜像默认通过supervisord同时管理Memgraph数据库、Memgraph Lab等多个服务,启动容器时不会自动进入mgconsole,你可以通过以下两种方式启动:

方法一:进入已运行的容器启动

  1. 查看正在运行的容器ID或名称:
    docker ps
    
  2. 进入容器的交互式终端:
    docker exec -it <容器ID或名称> bash
    
  3. 在容器内直接执行命令启动mgconsole:
    mgconsole
    

方法二:启动容器时直接指定启动mgconsole

修改启动命令,让容器启动后直接进入mgconsole:

docker run -it -p 7687:7687 -p 7444:7444 -p 3000:3000 memgraph/memgraph-platform mgconsole

你提供的容器运行日志:

2023-08-25 06:14:41,015 INFO Included extra file "/etc/supervisor/programs/lab.conf" during parsing
2023-08-25 06:14:41,015 INFO Included extra file "/etc/supervisor/programs/memgraph.conf" during parsing
2023-08-25 06:14:41,015 INFO Set uid to user 0 succeeded
2023-08-25 06:14:41,016 INFO supervisord started with pid 1
2023-08-25 06:14:42,019 INFO spawned: 'memgraph' with pid 7
2023-08-25 06:14:42,021 INFO spawned: 'lab' with pid 8
You are running Memgraph v2.10.1
To get started with Memgraph, visit https://memgr.ph/start

内容的提问来源于stack exchange,提问作者ZoomZoom

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.12 12:11:17