moby / moby/libnetwork

docker macvlan hosts stop working after kernel 5.4.11

Open
#2,499 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.2k
Forks
875
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have set up some pihole docker containers using macvlan network driver. After upgrade to my linux kernel 5.4.11, the hosts are accessible via the docker host but not from other hosts on the network like before.
❯ docker inspect wifi_172
[
{
"Name": "wifi_172",
"Id": "cc3809eb470525c3f6af4c01a1571be73e0902e6436006259cf664bf052cd7eb",
"Created": "2018-04-03T10:37:21.975032167-07:00",
"Scope": "local",
"Driver": "macvlan",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": {},
"Config": [
{
"Subnet": "172.16.6.0/24",
"Gateway": "172.16.6.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"925f0389089fe6d290017d3d91c9cbdeb0e37967c21aca8d498bf20c4f421b80": {
"Name": "wifi-hole",
"EndpointID": "ce72a371ed63d8573faa0d9c914198b9f629a185e2cfa07d264797802aa28a4b",
"MacAddress": "02:42:ac:10:06:fe",
"IPv4Address": "172.16.6.254/24",
"IPv6Address": ""
}
},
"Options": {
"parent": "van0.172"
},
"Labels": {}
}
]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points. Start by reproducing the macvlan setup with kernel 5.4.11 and the shown network configuration, comparing access from the Docker host with access from another network host. Done means identifying and fixing the regression so macvlan containers are reachable from other hosts.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, linux
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.