-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker启动不了,初始化脚本有问题吗 #19
Comments
没能读取conf文件,还是权限的问题,参照我的说明文档修改,一定要注意文件夹权限的设置,实在觉得麻烦就用0吧
Master God <notifications@github.com>于2020年1月9日 周四下午9:50写道:
… 查看日志显示这个错误,初始化脚本有问题吗? standard_init_linux.go:211: exec user process caused
"exec format error"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#19>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2C73WHT3ASVUOWJPLEGWDQ44TT7ANCNFSM4KEYRLWQ>
.
|
是conf所在文件夹的权限问题,用chown -r 把根文件夹的所有者改了
Master God <notifications@github.com>于2020年1月9日 周四下午9:59写道:
…
目前使用的用户是NAS,组是Docker,应该没错,我其他容器也能正常运行创建文件,现在aria2也有自动创建文件了,但是appdata上面没有conf文件
[image: image]
<https://user-images.githubusercontent.com/29800728/72073480-f927ce80-332a-11ea-9d41-101d56fd1983.png>
我的运行命令
docker create --name=aria2 -e PUID=1000 -e PGID=996 -e TZ=Asia/Shanghai -e
SECRET=master -e UpdateTracker=true -p 6881:6881 -p 6881:6881/udp -p
6800:6800 -v /mnt/disk/soft/aria2/appdata/config:/config -v
/mnt/disk/soft/aria2/downloads:/downloads --restart unless-stopped
superng6/aria2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2C73TZKMQLQZHVRTU4QKDQ44USLANCNFSM4KEYRLWQ>
.
|
现在将用户名和组都更换成root(0)都不行 |
是否需要自己创建配置文件才可以运行 |
不需要,测试一下不挂载config目录,看看能否启动,让conf文件只存在于容器内
Master God <notifications@github.com>于2020年1月9日 周四下午10:18写道:
… 是否需要自己创建配置文件才可以运行
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2C73TUDIKF7ZIXPHR7J6TQ44W35ANCNFSM4KEYRLWQ>
.
|
真是绝望还是不行 |
我明天再排查一下,我这边一切正常,是不是只创立容器没有运行?docker run不 -d 的启动日志截图一下,不挂载文件夹
Master God <notifications@github.com>于2020年1月9日 周四下午10:30写道:
… 不需要,测试一下不挂载config目录,看看能否启动,让conf文件只存在于容器内 Master God
***@***.***于2020年1月9日 周四下午10:18写道:
… <#m_-4015581991603271519_>
是否需要自己创建配置文件才可以运行 — You are receiving this because you commented. Reply to
this email directly, view it on GitHub <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73TUDIKF7ZIXPHR7J6TQ44W35ANCNFSM4KEYRLWQ
.
真是绝望还是不行
docker create --name=aria2 -e PUID=1000 -e PGID=996 -e TZ=Asia/Shanghai -e
SECRET=master -e UpdateTracker=true -p 6881:6881 -p 6881:6881/udp -p
6800:6800 -v /mnt/disk/soft/aria2/downloads:/downloads --restart
unless-stopped superng6/aria2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2C73WQ44I47ZWNGG22233Q44YKDANCNFSM4KEYRLWQ>
.
|
|
只运行这个命令
docker run superng6/aria2
Master God <notifications@github.com>于2020年1月9日 周四下午10:37写道:
… 我明天再排查一下,我这边一切正常,是不是只创立容器没有运行?docker run不 -d 的启动日志截图一下,不挂载文件夹 Master God
***@***.***于2020年1月9日 周四下午10:30写道:
… <#m_-2035699658029994826_>
不需要,测试一下不挂载config目录,看看能否启动,让conf文件只存在于容器内 Master God *@*.***于2020年1月9日
周四下午10:18写道: … <#m_-4015581991603271519_> 是否需要自己创建配置文件才可以运行 — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#19 <#19> <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73TUDIKF7ZIXPHR7J6TQ44W35ANCNFSM4KEYRLWQ
. 真是绝望还是不行 docker create --name=aria2 -e PUID=1000 -e PGID=996 -e
TZ=Asia/Shanghai -e SECRET=master -e UpdateTracker=true -p 6881:6881 -p
6881:6881/udp -p 6800:6800 -v /mnt/disk/soft/aria2/downloads:/downloads
--restart unless-stopped superng6/aria2 — You are receiving this because
you commented. Reply to this email directly, view it on GitHub <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73WQ44I47ZWNGG22233Q44YKDANCNFSM4KEYRLWQ
.
[image: image]
<https://user-images.githubusercontent.com/29800728/72076497-90435500-3330-11ea-8760-55912cc8a13f.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2C73QFEDVGZEGUTY3PNA3Q44ZC5ANCNFSM4KEYRLWQ>
.
|
是不是不支持我的CPU,我用的是斐讯的N1盒子,cpu是arm,系统是armbian(debian9) |
暂时只支持x86_64,docker buildx我还不太会用
Master God <notifications@github.com>于2020年1月9日 周四下午10:45写道:
… 只运行这个命令 docker run superng6/aria2 Master God ***@***.***于2020年1月9日
周四下午10:37写道:
… <#m_-6898533535707467835_>
我明天再排查一下,我这边一切正常,是不是只创立容器没有运行?docker run不 -d 的启动日志截图一下,不挂载文件夹 Master God
*@*.***于2020年1月9日 周四下午10:30写道: … <#m_-2035699658029994826_>
不需要,测试一下不挂载config目录,看看能否启动,让conf文件只存在于容器内 Master God *@*.***于2020年1月9日
周四下午10:18写道: … <#m_-4015581991603271519_> 是否需要自己创建配置文件才可以运行 — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#19 <#19> <#19
<#19>> <#19
<#19> <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73TUDIKF7ZIXPHR7J6TQ44W35ANCNFSM4KEYRLWQ
. 真是绝望还是不行 docker create --name=aria2 -e PUID=1000 -e PGID=996 -e
TZ=Asia/Shanghai -e SECRET=master -e UpdateTracker=true -p 6881:6881 -p
6881:6881/udp -p 6800:6800 -v /mnt/disk/soft/aria2/downloads:/downloads
--restart unless-stopped superng6/aria2 — You are receiving this because
you commented. Reply to this email directly, view it on GitHub <#19
<#19> <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73WQ44I47ZWNGG22233Q44YKDANCNFSM4KEYRLWQ
. [image: image]
https://user-images.githubusercontent.com/29800728/72076497-90435500-3330-11ea-8760-55912cc8a13f.png
— You are receiving this because you commented. Reply to this email
directly, view it on GitHub <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73QFEDVGZEGUTY3PNA3Q44ZC5ANCNFSM4KEYRLWQ
.
只运行这个命令 docker run superng6/aria2 Master God ***@***.***于2020年1月9日
周四下午10:37写道:
… <#m_-6898533535707467835_>
我明天再排查一下,我这边一切正常,是不是只创立容器没有运行?docker run不 -d 的启动日志截图一下,不挂载文件夹 Master God
*@*.***于2020年1月9日 周四下午10:30写道: … <#m_-2035699658029994826_>
不需要,测试一下不挂载config目录,看看能否启动,让conf文件只存在于容器内 Master God *@*.***于2020年1月9日
周四下午10:18写道: … <#m_-4015581991603271519_> 是否需要自己创建配置文件才可以运行 — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#19 <#19> <#19
<#19>> <#19
<#19> <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73TUDIKF7ZIXPHR7J6TQ44W35ANCNFSM4KEYRLWQ
. 真是绝望还是不行 docker create --name=aria2 -e PUID=1000 -e PGID=996 -e
TZ=Asia/Shanghai -e SECRET=master -e UpdateTracker=true -p 6881:6881 -p
6881:6881/udp -p 6800:6800 -v /mnt/disk/soft/aria2/downloads:/downloads
--restart unless-stopped superng6/aria2 — You are receiving this because
you commented. Reply to this email directly, view it on GitHub <#19
<#19> <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73WQ44I47ZWNGG22233Q44YKDANCNFSM4KEYRLWQ
. [image: image]
https://user-images.githubusercontent.com/29800728/72076497-90435500-3330-11ea-8760-55912cc8a13f.png
— You are receiving this because you commented. Reply to this email
directly, view it on GitHub <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73QFEDVGZEGUTY3PNA3Q44ZC5ANCNFSM4KEYRLWQ
.
是不是不支持我的CPU,我用的是斐讯的N1盒子,cpu是arm,系统是armbian(debian9)
***@***.***:~# docker run superng6/aria2 standard_init_linux.go:211: exec
user process caused "exec format error"
图片发不出来
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2C73TD3LWXNZDKUS72ZR3Q442A7ANCNFSM4KEYRLWQ>
.
|
arm机器是怎么下载到x86镜像的?按理来说根本下载不了吧
Master God <notifications@github.com>于2020年1月9日 周四下午10:45写道:
… 只运行这个命令 docker run superng6/aria2 Master God ***@***.***于2020年1月9日
周四下午10:37写道:
… <#m_-6898533535707467835_>
我明天再排查一下,我这边一切正常,是不是只创立容器没有运行?docker run不 -d 的启动日志截图一下,不挂载文件夹 Master God
*@*.***于2020年1月9日 周四下午10:30写道: … <#m_-2035699658029994826_>
不需要,测试一下不挂载config目录,看看能否启动,让conf文件只存在于容器内 Master God *@*.***于2020年1月9日
周四下午10:18写道: … <#m_-4015581991603271519_> 是否需要自己创建配置文件才可以运行 — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#19 <#19> <#19
<#19>> <#19
<#19> <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73TUDIKF7ZIXPHR7J6TQ44W35ANCNFSM4KEYRLWQ
. 真是绝望还是不行 docker create --name=aria2 -e PUID=1000 -e PGID=996 -e
TZ=Asia/Shanghai -e SECRET=master -e UpdateTracker=true -p 6881:6881 -p
6881:6881/udp -p 6800:6800 -v /mnt/disk/soft/aria2/downloads:/downloads
--restart unless-stopped superng6/aria2 — You are receiving this because
you commented. Reply to this email directly, view it on GitHub <#19
<#19> <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73WQ44I47ZWNGG22233Q44YKDANCNFSM4KEYRLWQ
. [image: image]
https://user-images.githubusercontent.com/29800728/72076497-90435500-3330-11ea-8760-55912cc8a13f.png
— You are receiving this because you commented. Reply to this email
directly, view it on GitHub <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73QFEDVGZEGUTY3PNA3Q44ZC5ANCNFSM4KEYRLWQ
.
只运行这个命令 docker run superng6/aria2 Master God ***@***.***于2020年1月9日
周四下午10:37写道:
… <#m_-6898533535707467835_>
我明天再排查一下,我这边一切正常,是不是只创立容器没有运行?docker run不 -d 的启动日志截图一下,不挂载文件夹 Master God
*@*.***于2020年1月9日 周四下午10:30写道: … <#m_-2035699658029994826_>
不需要,测试一下不挂载config目录,看看能否启动,让conf文件只存在于容器内 Master God *@*.***于2020年1月9日
周四下午10:18写道: … <#m_-4015581991603271519_> 是否需要自己创建配置文件才可以运行 — You are
receiving this because you commented. Reply to this email directly, view it
on GitHub <#19 <#19> <#19
<#19>> <#19
<#19> <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73TUDIKF7ZIXPHR7J6TQ44W35ANCNFSM4KEYRLWQ
. 真是绝望还是不行 docker create --name=aria2 -e PUID=1000 -e PGID=996 -e
TZ=Asia/Shanghai -e SECRET=master -e UpdateTracker=true -p 6881:6881 -p
6881:6881/udp -p 6800:6800 -v /mnt/disk/soft/aria2/downloads:/downloads
--restart unless-stopped superng6/aria2 — You are receiving this because
you commented. Reply to this email directly, view it on GitHub <#19
<#19> <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73WQ44I47ZWNGG22233Q44YKDANCNFSM4KEYRLWQ
. [image: image]
https://user-images.githubusercontent.com/29800728/72076497-90435500-3330-11ea-8760-55912cc8a13f.png
— You are receiving this because you commented. Reply to this email
directly, view it on GitHub <#19
<#19>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG2C73QFEDVGZEGUTY3PNA3Q44ZC5ANCNFSM4KEYRLWQ
.
是不是不支持我的CPU,我用的是斐讯的N1盒子,cpu是arm,系统是armbian(debian9)
***@***.***:~# docker run superng6/aria2 standard_init_linux.go:211: exec
user process caused "exec format error"
图片发不出来
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2C73TD3LWXNZDKUS72ZR3Q442A7ANCNFSM4KEYRLWQ>
.
|
太难了,期待以后可以支持,docker应该不会管x86 还是arm框架的吧 |
查看日志显示这个错误,初始化脚本有问题吗? standard_init_linux.go:211: exec user process caused "exec format error"
The text was updated successfully, but these errors were encountered: