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?

  • Installed Go binary not found in path on Alpine Linux Docker
  • Keep gitlab build running after build
  • Docker MySQL can't connect to socket
  • Docker Compose - Share named volume between multiple containers
  • Cannot remove dead docker containers. Storage driver: btrfs
  • OpenSSH server in docker containers not working
  • 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.

  • using a maven docker plugin to commit and save an image on maven release
  • How to upgrade Openshift Origin Docker to latest version?
  • spring-cloud-config in docker-compose https certificate not found
  • How to use additional parameters for PhantomJS in a Docker container?
  • Using maven-failsafe with fabric8-maven to run integration tests that hit a containerised DB
  • When I run the image on my PC for Docker, I got below error all the time
  • 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.