diff --git a/docker-compose.yaml b/docker-compose.yaml index 2ae7291..9e93974 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -39,6 +39,12 @@ services: # In addition, `net.ipv4.conf.default.rp_filter` # has to be set to 0 (disabled) or 2 (loose) # in the daemon's network namespace. + annotations: + # bypass4netns annotations are recognized since nerdctl v2.0 + # TODO: enable bypass4netns only when bypass4netnsd is running. + "nerdctl/bypass4netns": "true" + "nerdctl/bypass4netns-ignore-bind": "true" + "nerdctl/bypass4netns-ignore-subnets": "[\"10.96.0.0/16\", \"10.244.0.0/16\", \"${U7S_NODE_SUBNET}\"]" networks: default: ipam: