Skip to content

Instantly share code, notes, and snippets.

@superseb
Created May 18, 2017 13:03
Show Gist options
  • Save superseb/ca9930a09aa000346990280ac0dc9a9e to your computer and use it in GitHub Desktop.
Save superseb/ca9930a09aa000346990280ac0dc9a9e to your computer and use it in GitHub Desktop.
Docker daemon: unregister_netdevice: waiting for lo to become free. Usage count = 1
Related issues:
https://github.com/coreos/bugs/issues/254
https://github.com/moby/moby/issues/5618
There is a workaround implemented by Kubernetes (https://github.com/kubernetes/kubernetes/blob/release-1.6/pkg/kubelet/network/kubenet/kubenet_linux.go#L345) and other Docker-based solutions (flynn: https://github.com/flynn/flynn/commit/9d94ea8e2ad7a626f74ff03cb82e8d0efe1b42b5). The fix is putting the docker0 bridge in promiscuous mode by executing `ip link set docker0 promisc on`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment