Running multi-node kubernetes using docker

I followed the instructions given here, but both the scripts (master.sh & worker.sh) are failing on nodes (Ubuntu 14.04). The script output is as follows:

root@LAP0061:/home/user/kubernetes/docs/getting-started-guides/docker-multinode# ./master.sh 
K8S_VERSION is set to: 1.2.0-alpha.7
ETCD_VERSION is set to: 2.2.1
FLANNEL_VERSION is set to: 0.5.5
FLANNEL_IFACE is set to: eth0
FLANNEL_IPMASQ is set to: true
MASTER_IP is set to: 192.168.1.19
ARCH is set to: amd64
Detecting your OS distro ...
Starting bootstrap docker ...
Starting k8s ...
docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.
See 'docker run --help'.
root@LAP0061:/home/user/kubernetes/docs/getting-started-guides/docker-multinode# 

But, when I run the command “service docker status”, it shows “docker start/running, process 9559”. So, why is it giving the error message even if the docker is running?

  • How to change Docker default subnet size?
  • Add docker publish step to sbt-release process with new tag
  • sbt failed download in running play docker container
  • Docker 1.12 Swarm: TLS changes
  • EOF Error :: when docker command is executed
  • docker-compose links between app and db
  • Versions:
    Ubuntu Trusty 14.04 LTS on both master and worker
    Kubernetes: v1.2.0
    hyperkube: v1.2.0
    Docker: 1.10.2
    

    Please suggest any solution.

  • Access JMX inside docker container with mapped ports
  • How to write variable in docker-compose, running multiple containers which uses the same image but their ports are different
  • Kubernetes - Routable IP to individual Pods
  • How to deploy asp.net application to docker container on Linux server?
  • How to pass playbook tags to ansible-container?
  • Is it possible to access the entry command bash on a running docker container?
  • One Solution collect form web for “Running multi-node kubernetes using docker”

    Do you see an error in /var/log/docker-bootstrap.log ? It is possible docker did not come up properly in bootsrtap docker step.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.