Hello, we are running hundreds of containers and we got some valid requests from customers that want to be able to change their container's hostname using the sysctl command. The current implementation does not allow each UTS namespace to change its own hostname. So we sponsored the development of fix for this issue. Please checkout the changes here: https://github.com/1HLtd/linux/compare/b24e2bdde4af656bb0679a101265ebb8f8735d3c...sysctl-hostname-fixes If this fix is acceptable I'll send the patches as it is common. But first I want to know if you think this is the way to go. Thank you, Marian
一个看起来不错的内核改进请求
最新推荐文章于 2019-03-04 15:17:11 发布
本文介绍了一个针对容器hostname设置的问题及解决方案。当前实现不允许每个UTS名称空间更改其自身的hostname。为解决此问题,我们资助了相关修复开发工作,并提供了一个补丁。该补丁允许每个容器独立设置hostname。
5632

被折叠的 条评论
为什么被折叠?



