Docker Community Forums

Share and learn in the Docker community.

Pretty URGENT: $ docker-machine create... fails with GCE


(Mldwrp) #1

$ docker-machine create --driver google --google-project google-project-id --google-zone us-east1-c test-dev

fails with

Error creating machine: Error running provisioning: ssh command error:
command : sudo systemctl -f start docker
err     : exit status 1
output  : Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

Can anyone please help?

p.s.

docker-user@test-dev:~$ systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/docker.service.d
           └─10-machine.conf
   Active: inactive (dead) (Result: exit-code) since Wed 2017-07-05 08:35:14 UTC; 4min 2s ago
     Docs: https://docs.docker.com
  Process: 5561 ExecStart=/usr/bin/docker daemon -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --storage-driver aufs --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tl
 Main PID: 5561 (code=exited, status=1/FAILURE)

Jul 05 08:35:14 test-dev systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jul 05 08:35:14 test-dev systemd[1]: Failed to start Docker Application Container Engine.
Jul 05 08:35:14 test-dev systemd[1]: docker.service: Unit entered failed state.
Jul 05 08:35:14 test-dev systemd[1]: docker.service: Failed with result 'exit-code'.
Jul 05 08:35:14 test-dev systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Jul 05 08:35:14 test-dev systemd[1]: Stopped Docker Application Container Engine.
Jul 05 08:35:14 test-dev systemd[1]: docker.service: Start request repeated too quickly.
Jul 05 08:35:14 test-dev systemd[1]: Failed to start Docker Application Container Engine.
$ journalctl -xe

p.p.s. Google issue tracker sister issue: https://issuetracker.google.com/issues/63283044