I am currently trying to set up kubernetes on a multi-docker container set up for AWS. To do this I need to set up etcd for flannel and am currently using this guide but am having problems at the first stage where I am suggested to run
sudo sh -c ‘docker -d -H unix:///var/run/docker-bootstrap.sock -p /var/run/docker-bootstrap.pid --iptables=false --ip-masq=false --bridge=none --graph=/var/lib/docker-bootstrap 2> /var/log/docker-bootstrap.log 1> /dev/null &’
the problem comes from the first part. docker -d -H unix:///var/run/docker-bootstrap.sock from within boot2docker. There is no docker-bootstrap.sock file in this directory and this error is thrown:
FATA An error occurred trying to connect: Post https:///var/run/docker-bootstrap.sock/v1.18/containers/create: dial unix /var/run/docker-bootstrap.sock: no such file or directory
clearly the unix socket did not connect to this nonexistent socket.
I will note this is a very similar problem to this ticket which in my opinion was not satisfactorily handled.
I am not an expert in unix sockets, but I am assuming there should be a file where there is not. Where can I get this file to solve my issue, or what is the recommended steps to resolve this.
P.S. running OSX Yosemite but calling all commands from boot2docker