I installed docker in machine using the guide in https://docs.docker.com/engine/installation/linux/ubuntulinux/ and I also installed Kubernetes in my local machine by using http://kubernetes.io/docs/getting-started-guides/docker/.
But once I run "kubectl get nodes" I get the error error: failed to negotiate an api version; server supports: map[], client supports: map[v1:{} metrics/v1alpha1:{} extensions/v1beta1:{} componentconfig/v1alpha1:{} batch/v1:{} autoscaling/v1:{} authorization.k8s.io/v1beta1:{}].
The docker version on my machine is as follows.
Client:
- Version: 1.11.1
- API version: 1.23
- Go version: go1.5.4
- Git commit: 5604cbe
- Built: Tue Apr 26 23:30:23 2016
- OS/Arch: linux/amd64
Server:
- Version: 1.11.1
- API version: 1.23
- Go version: go1.5.4
- Git commit: 5604cbe
- Built: Tue Apr 26 23:30:23 2016
- OS/Arch: linux/amd64