Closed
Description
I tried following the docs in http://kubernetes.io/v1.1/docs/getting-started-guides/docker-multinode.html
When it gets to the bootstrap stage, the docker service fails to restart. Systemd logs:
-- Unit docker.service has begun starting up.
Mar 08 17:57:25 centos-2gb-lon1-01 docker[2785]: docker: "daemon" requires 0 arguments.
Mar 08 17:57:25 centos-2gb-lon1-01 docker[2785]: See '/usr/bin/docker daemon --help'.
Mar 08 17:57:25 centos-2gb-lon1-01 docker[2785]: Usage: docker daemon [OPTIONS]
Mar 08 17:57:25 centos-2gb-lon1-01 docker[2785]: Enable daemon mode
Mar 08 17:57:25 centos-2gb-lon1-01 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Mar 08 17:57:25 centos-2gb-lon1-01 systemd[1]: Failed to start Docker Application Container Engine.
If I go into the an manually change the OPTIONS flag, then comment out the line of code in master.sh that adds it in, the deploy goes ok, but it doesn't start.
kubectl get nodes
error: couldn't read version from server: Get http://localhost:8080/api: dial tcp 127.0.0.1:8080: connection refused
I can reproduce this 100% with a DigitalOcean CentOS 7 droplet.
Full log is here: https://gist.github.com/petems/cc2754011c8ef936a3cc
Maybe related to #20281?
Eventually got it working with 1.1.8, it worked, but I encountered #22705 because the new containers have the arch argument, the old ones don't.
Ok, just reproduced using the 1.1.8 tag, same issue (docker wont start).