This was all work done previously by @hswong3i in https://github.com/weaveworks/weave/pull/3939 All credit to them
Weave network driver extension for Docker and Kubernetes
This directory implements both a Docker plugin to integrate Weave Net with Docker, and a Container Network Interface (CNI) plugin, to integrate Weave Net with Kubernetes.
The Docker plugin runs automatically when you weave launch, provided your
Docker daemon is version 1.9 or newer.
More detail on the Docker plugin here.
More detail on the CNI plugin here.