Docker:获取/ bin / sh:1:./electrum:权限被拒绝

时间:2019-12-24 00:19:47

标签: linux docker

我正在尝试在docker容器中运行一个电子比特币钱包,但是我面临以下问题: Dockerfile:

FROM ubuntu

RUN apt-get update
RUN apt-get install git python3-pyqt5 //dependencies
RUN git clone git://github.com/spesmilo/electrum.git
RUN cd electrum/electrum
RUN ./electrum daemon -d
RUN ./electrum create

错误:

/bin/sh: 1: ./electrum: Permission denied
The command '/bin/sh -c ./electrum daemon -d' returned a non-zero code: 126

我已经尝试在文件上使用chmod + x,但这也行不通

0 个答案:

没有答案