Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否可以将 docker 引擎配置为始终为所有容器添加自定义标志 (--sysctl)?
我的问题是我是牧场主用户,牧场主不支持 --sysctl 标志。我正在寻找解决方法。
谢谢你。
从rancher-version - 支持 v1.2.0-pre4-rc4 sysctl 选项。在启动配置中添加适当的选项:
"launchConfig": { "type": "launchConfig", "sysctl": <options-here> }