DiscordChatExporter の Docker コンテナは arm(Raspberry Pi など)では実行できない

DiscordChatExporter とは

github.com

結論

以下のようにエラーが出ます。

$ docker run --rm tyrrrz/discordchatexporter:stable
Unable to find image 'tyrrrz/discordchatexporter:stable' locally
stable: Pulling from tyrrrz/discordchatexporter
f7ec5a41d630: Pull complete
dbcaaf8b5596: Pull complete
a28db737b4d7: Pull complete
f828bffb2376: Pull complete
d70dd1d4c571: Pull complete
84e78e682d31: Pull complete
20285abea61a: Pull complete
Digest: sha256:cccbddba525b70affc9872998302b4730f131ade0608aa1f4e214e8cd0420e0e
Status: Downloaded newer image for tyrrrz/discordchatexporter:stable
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
standard_init_linux.go:219: exec user process caused: exec format error

どうするか

以下の記事を参考にして、直接実行しましょう。

obel.hatenablog.jp

あるいは、自前で $ docker build しても実行できます。

Powered by はてなブログ