docker 在配备M1的MacBook Air上运行Memgraph 2.1.1时出错

5ktev3wc  于 2023-02-21  发布在  Docker
关注(0)|答案(1)|浏览(178)

我想在Docker中运行Memgraph 2.1.1。我有MacBook Air和M1。当我尝试运行它时,我得到错误:

> docker run -p 7687:7687 memgraph/memgraph
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
You are running Memgraph v2.1.1
To get started with Memgraph, visit https://memgr.ph/start
qemu: uncaught target signal 6 (Aborted) - core dumped

在我的Docker日志中,我也可以看到一些错误:

memgraph@e01736c43b23:/usr/lib/memgraph$ cat /var/log/memgraph/memgraph_2023-02-13.log
[2023-02-13 11:16:17.124] [memgraph_log] [warning] Invalid license key string. To use Enterprise features please set it to a valid string using the following query:
SET DATABASE SETTING "enterprise.license" TO "your-license-key"
[2023-02-13 11:16:17.254] [memgraph_log] [warning] No snapshot or WAL file found. For more details, visit https://memgr.ph/durability.
[2023-02-13 11:17:50.221] [memgraph_log] [warning] Using non-secure Bolt connection (without SSL). For more details, visit https://memgr.ph/ssl.
[2023-02-13 11:18:03.589] [memgraph_log] [critical]
Assertion failed in file /memgraph/src/utils/async_timer.cpp at line 144.
    Expression: 'timer_create(CLOCK_MONOTONIC, &notification_settings, &timer_id_) == 0'
    Message: 'Couldn't create timer: (22) Invalid argument'

我可以做些什么来启动docker中的Memgraph?

hyrbngr7

hyrbngr71#

您需要将Memgraph升级到新版本。Memgraph 2.2中添加了对M1的支持。

相关问题