Skip to content
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中无法正确hook #31

Open
1461521844lijin opened this issue Dec 7, 2022 · 2 comments
Open

在docker中无法正确hook #31

1461521844lijin opened this issue Dec 7, 2022 · 2 comments

Comments

@1461521844lijin
Copy link

在开发环境下项目正常运行
但当想要将项目移植到docker内部时发现dl链接hook时会报错或者hook失败不会执行hook部分代码
进而导致的问题是 涉及到hook关于网络通信方面的接口无法使用
开发环境与docker内部环境一致

询问是否有解决方案,若无解决方案,建议开发者不要再docker中使用sylar的网络通信模块

@liwead
Copy link

liwead commented Oct 13, 2023

@1461521844lijin 大佬,你还有docker吗,如果有的话可以私信我一下吗?

@1461521844lijin
Copy link
Author

@1461521844lijin 大佬,你还有docker吗,如果有的话可以私信我一下吗?

这个issus已经很久了,你也遇到过同样的问题吗?

当时的环境是在一个国产麒麟系统上的docker中环境会失败,在其他系统上docker中是正常运行的,因此怀疑是国产系统内核的问题,如果你的程序不是部署在国产系统上应该不用担心这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants