-
Notifications
You must be signed in to change notification settings - Fork 490
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里面会一直重复运行脚本吗 #39
Comments
我也是这个情况 在群晖里面一直跑个不停,docker里生成的itvlist.txt映射不到外面来 |
映射docker的共享目录就可以共享出来了。我这里没有一直运行,大概1小时左右结束。看看日志什么原因? |
看了,是设置的时候把容器里的appitvall目录映射到外面来了,但生产的txt在app目录里。但如果把映射的目录改成app,又显示python3: can't open file '/app/itvall.py': [Errno 2] No such file or directory。只能在iptvall.py最后加上一行,把生成的txt复制到/appitvall里面。 |
sudo docker run liuxipo/itvall,这样试试呢? |
又测试了一次,可以运行了。就是先在外面建立好相关目录/www/itvall,把itvall.py复制进去,然后再运行docker run -v /www/itvall:/app itvall就OK了 |
你的什么系统,什么平台? |
我看日志一直不停在刷新,而且docker里生成的itvlist.txt映射不到外面来
The text was updated successfully, but these errors were encountered: