3

I'm new to docker.I can't restart virtual machine in docker.I don't know what 'exit status 255' means, while running docker-machine restart vdocker it shows

$docker-machine restart vdocker
Restarting "vdocker"...
Starting "vdocker"...
<vdocker> Check network to re-create if needed...
<vdocker> Waiting for an IP...
Too many retries waiting for SSH to be available. Last error:Maximum number of retries <60> exceeded

running docker-machine ls shows

$docker-machine ls
NAME     ACTIVE  DRIVER      STATE    URL                       SWARM        DOCKER    ERRORS
default    *     virtualbox  Running  tcp://192.168.99.100:2376              v1.11.2
vdocker    -     virtualbox  Running                                         Unknown   Somthing went wrong running an SSH command!
command : ip addr show
err     : exit status 255
output  :  

but default machine is working well.

Please let me know if you need any more info or clarity on the problem.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
Chhaya Vankhede
  • 316
  • 2
  • 14

1 Answers1

0

Try, if you don't have any image in it, to delete vdocker, then re-create it (with proxy if you are behind a proxy)

Then make sure to assign it a fixed IP with dmvbf

dmvbf vdocker 99 101
docker-machine regenerate-certs -f vdocker

After that, your VM should start everytime.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • @ChhayaVankhede If you have its Dockerfile, you can delete, recreate and once the IP is fixed, rebuid the tenserflow image – VonC Aug 19 '16 at 12:26