英文:
Error when running Memgraph 2.1.1 on MacBook Air with M1
问题
我想在Docker中运行Memgraph 2.1.1。我有一台装有M1芯片的MacBook Air。当我尝试运行它时,我遇到了以下错误:
> 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?
英文:
I want to run Memgraph 2.1.1 inside Docker. I have MacBook Air with M1. When I try to run it I get the error:
> 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
In my docker log I can see also some errors:
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'
What can I do to start Memgraph in docker?
答案1
得分: 2
你需要升级 Memgraph 到较新的版本。对 M1 的支持在 Memgraph 2.2 中添加。
英文:
You will need to upgrade Memgraph to newer version. Support for M1 was added in Memgraph 2.2.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论