[英]MISP instance through docker on raspberry pi running Ubuntu 20.04 server
Thanks so much in advance for taking the time to read/provide any advice here.非常感谢您花时间在这里阅读/提供任何建议。
So, I am trying to get an instance of MISP running through docker.所以,我试图让一个通过 docker 运行的 MISP 实例。 The hardware I have it running on is a raspberry pi 4 running Ubuntu 20.04 (server edition).
我运行它的硬件是运行 Ubuntu 20.04(服务器版)的树莓派 4。
I thought I installed all software dependencies, but being new to using docker, perhaps I haven't.我以为我安装了所有软件依赖项,但对使用 docker 不熟悉,也许我还没有。 I'm using this repository for the docker image: https://github.com/MISP/misp-docker
我正在将此存储库用于 docker 映像: https ://github.com/MISP/misp-docker
After running the command sudo docker-compose up
after copying the .env file to the root directory, I get the error that I am going to post an image of below along with the text of the error for easy copy/pasting在将 .env 文件复制到根目录后运行命令
sudo docker-compose up
后,我收到错误消息,我将在下面发布一个图像以及错误文本以便于复制/粘贴
ERROR: Service 'web' failed to build: The command '/bin/sh -c bash INSTALL_NODB.sh -A -u' returned a non-zero code: 1
ERROR MESSAGE SCREENSHOT错误消息屏幕截图
Once again, thank you all for any and all help!再次感谢大家的任何帮助! Please let me know if I can provide any more information!
如果我可以提供更多信息,请告诉我!
Looks like this may be an issue that was closed in May of 2021 https://github.com/MISP/MISP/issues/7375 .看起来这可能是 2021 年 5 月关闭的问题https://github.com/MISP/MISP/issues/7375 。 That Docker image has an
INSTALL_NODB.sh
that was initially committed in March 2021 https://github.com/MISP/misp-docker/commit/1e2f18f2c1211e382bd8df5371b1d3d718dad061 .该 Docker 映像有一个
INSTALL_NODB.sh
,最初于 2021 年 3 月提交https://github.com/MISP/misp-docker/commit/1e2f18f2c1211e382bd8df5371b1d3d718dad061 。 Since it was added before that fix the container may not include the fix for rpi that was added in the main repo.由于它是在该修复之前添加的,因此容器可能不包含在主 repo 中添加的 rpi 修复。 To verify, you can check if the output of
uname -m
is in this support map from the script used by the docker image https://github.com/MISP/misp-docker/blob/master/web/INSTALL_NODB.sh#L3070 .要验证,您可以从 docker 映像https://github.com/MISP/misp-docker/blob/master/web/INSTALL_NODB.sh#使用的脚本检查
uname -m
的输出是否在此支持映射中L3070 。 If it isn't, then you would need this fix implemented in the docker image.如果不是,那么您将需要在 docker 映像中实施此修复。
aarch64
isn't a supported architecture. aarch64
不是受支持的架构。 There's a pull request on the repository that adds it, so you can add that change to your local repository like this (from a command line in the misp-docker repository):存储库上有一个拉取请求添加它,因此您可以像这样将更改添加到本地存储库(从 misp-docker 存储库中的命令行):
git remote add fukusuket https://github.com/fukusuket/misp-docker.git
git fetch fukusuket
git merge fukusuket/hotfix/build-error-on-m1-mac -m "add aarch64 support"
Hopefully the pull request will be accepted soon and then you can go back to using the unaltered MISP git repository.希望拉取请求将很快被接受,然后您可以返回使用未更改的 MISP git 存储库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.