【问题标题】:How can I run a gocd server on a Raspberry PI 4 running Raspbian Buster?如何在运行 Raspbian Buster 的 Raspberry PI 4 上运行 gocd 服务器?
【发布时间】:2019-07-14 20:02:36
【问题描述】:

我正在尝试在运行 raspbian butler 的 Raspberry PI 4 上使用 Docker 启动 gocd 服务器,并且在启动时初始化立即失败并出现以下错误:

standard_init_linux.go:211: exec user process caused "exec format error"

【问题讨论】:

    标签: docker raspberry-pi go-cd


    【解决方案1】:

    this:repo 明确说它只支持x86-64,所以基于 arm 的 raspberry-pi 无法执行它,这就是你看到错误的原因。

    另外,我建议你参考x86-64 gocd dockerfile here 来构建你自己的镜像,当然你需要基于一些arm image,你必须是第一个并且可能会感到痛苦我猜是移植。

    【讨论】:

      【解决方案2】:

      找到一个在基于 arm 的处理器上运行的 gocd docker 映像:https://github.com/pellegrino/arm-gocd-server

      【讨论】:

        猜你喜欢
        • 2019-11-14
        • 2020-01-21
        • 2017-04-11
        • 2020-09-13
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多