Docker Community Forums

Share and learn in the Docker community.

Container command '/usr/local/bin/etcd' not found or does not exist


(Yuanlia) #1

OS ubuntu 16.04
docker version 1.11.2
step :
1.add docker bootstrap :
sudo sh -c 'docker daemon -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 &'
2. Startup etcd for flannel and the API server to use :
sudo docker -H unix:///var/run/docker-bootstrap.sock run -d
–net=host
gcr.io/google_containers/etcd-amd64:2.2.1
/usr/local/bin/etcd
–listen-client-urls=http://127.0.0.1:4001,http://${MASTER_IP}:4001
–advertise-client-urls=http://${MASTER_IP}:4001
–data-dir=/var/etcd/data
output:
docker: Error response from daemon: Container command ‘/usr/local/bin/etcd’ not found or does not exist…
it is success passed in ubuntu 14.04 and the iptables is closed.