Repository: moby/moby (language: go)

Issue:
Please update check-config with new 28.0.0 ipset requirements
### Description

Could we please update https://github.com/moby/moby/blob/master/contrib/check-config.sh With the required kernel options. I have tested with CONFIG_IP_SET but that doesn’t seem to be enough.

### Reproduce

Issue with 28.0.0 and check script

### Expected behavior

Should error on missing IP_SET and others??

### docker version

```bash
28.0.0
```

### docker info

```bash
Na
```

### Additional Info

_No response_


Discussion / hints:
Hi @heitbaum ... is docker failing to start? Does it log an error message?
Getting the bridge error `failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register bridge" driver: invalid argument
`

I believe these are the required options fo4 28.0.0

+# new options since 28.0.0
+CONFIG_IP_SET=m
+CONFIG_IP_SET_HASH_NET=m
+CONFIG_NETFILTER_XT_SET=m
Thank you @heitbaum - that's great.

Fix patch:
diff --git a/contrib/check-config.sh b/contrib/check-config.sh
index 1a6c204032a99..4918b3164ca30 100755
--- a/contrib/check-config.sh
+++ b/contrib/check-config.sh
@@ -210,7 +210,9 @@ check_flags \
 	NETFILTER_XT_MATCH_CONNTRACK \
 	NETFILTER_XT_MATCH_IPVS \
 	NETFILTER_XT_MARK \
+	NETFILTER_XT_SET \
 	IP_NF_NAT NF_NAT \
+	IP_SET IP_SET_HASH_NET \
 	POSIX_MQUEUE
 # (POSIX_MQUEUE is required for bind-mounting /dev/mqueue into containers)
 


Test patch: