Comments (10)
Entrypoint.sh原本只有一行
mieru start
我经过搜索之后,加上了一行
tail -f /dev/null
本来是想让容器不退出方便调试的,结果直接能用了。看来是启动命令的问题,请问有什么别的方法能解决吗?
from mieru.
首先我认为在容器里面运行客户端程序没有任何好处.
至于你的问题,你需要知道一点
如果容器的主进程退出了,容器的生命周期也就结束了.
假定 Entrypoint.sh
是容器的主进程,这里面的最后一个指令是 mieru start
. mieru start
做的事情是在后台运行 mieru run
并退出.它退出之后容器的生命周期就结束了,那个刚刚创建的后台进程 mieru run
也会一起死掉,所以你在日志里面什么都看不到.想要修复这个问题,如果你在容器的 Entrypoint.sh
里面使用 mieru apply config ...
正确配置了客户端,只要把最后一个指令改成 mieru run
即可.
from mieru.
感谢解答,至于我为什么要用docker运行客户端,是因为我想要在软路由上运行mieru,通过passwall等软件转发socks到客户端
from mieru.
你用的软路由只能运行容器不能直接运行一个二进制程序么?
from mieru.
系统是openwrt,aarch64架构的,release中有这个架构的客户端,但我没有找到这个系统如何进行rpm安装。
from mieru.
客户端只有一个二进制文件,因此不一定需要 deb 或者 rpm 安装包。你可以下载
https://github.com/enfein/mieru/releases/download/v1.8.1/mieru_1.8.1_linux_arm64.tar.gz
然后解压缩即可。
from mieru.
aarch64架构的客户端并没有tar.gz压缩包
但我发现rpm也是可以解压的。能否考虑以后只release二进制文件呢
from mieru.
处理器的架构有不同的名字,Redhat 叫 x86_64
和 aarch64
,Debian 叫 amd64
和 arm64
。其实他们是一回事。那个 mieru_1.8.1_linux_arm64.tar.gz
应该可以在你的软路由里面运行。
from mieru.
确实可以运行
非常感谢!
from mieru.
This issue is stale because it has been open 80 days with no activity. Remove stale label or comment or this will be closed in 9 days.
from mieru.
Related Issues (20)
- Feature Request: port forwarding HOT 4
- Problem in windows 11 HOT 3
- mieru client is not running: connection refused HOT 7
- Occasionally proxy server doesn't accept socks5 request
- Version 3.1.0 detected a virus HOT 4
- 希望强化test功能 HOT 1
- DNS problem in android version HOT 1
- How do you write the such beautiful code? HOT 2
- 除了nekobox,安卓有没有其他客户端实现 HOT 5
- 能提供openbsd的mita二进制包么 HOT 2
- Feature request: proxy authentication and etc HOT 1
- BSD操作系统代理支持 HOT 1
- Start mieru at system boot HOT 1
- 简单的GUI客户端 HOT 4
- 关于新版本v3.2.1 HOT 7
- 感谢大佬 HOT 2
- 3.3.0 安装失败,影响 Debian 11 和以下的系统 HOT 5
- 客户端与服务端的版本是否必须一致? HOT 1
- 作为ssh代理时会自动断开,网络不稳定 HOT 3
- MIPS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mieru.