mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add CONFIG_IP_VS_PROTO_TCP, CONFIG_IP_VS_PROTO_UDP, IP_NF_TARGET_REDIRECT to check-config.sh
On kernels without this options set, publishing ports for swarm services does not work, making the published port not accessible ("connection refused") Thanks to Wenbo Wang for reporting, and Tianon for finding this. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
758255791e
commit
44e1c6ce81
1 changed files with 3 additions and 0 deletions
|
@ -265,8 +265,11 @@ flags=(
|
|||
CGROUP_HUGETLB
|
||||
NET_CLS_CGROUP $netprio
|
||||
CFS_BANDWIDTH FAIR_GROUP_SCHED RT_GROUP_SCHED
|
||||
IP_NF_TARGET_REDIRECT
|
||||
IP_VS
|
||||
IP_VS_NFCT
|
||||
IP_VS_PROTO_TCP
|
||||
IP_VS_PROTO_UDP
|
||||
IP_VS_RR
|
||||
)
|
||||
check_flags "${flags[@]}"
|
||||
|
|
Loading…
Add table
Reference in a new issue