Skip to content

Instantly share code, notes, and snippets.

@superseb
Created May 18, 2017 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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