Question

LFD254When I ran this Command: docker-machine create --driver digitalocean --digitalocean-access-token=$DO_TOKEN dockerhost

Posted July 12, 2021 47 views
Docker

Then I got this: Host already exists: “dockerhost”

I believed when I have deleted and destroyed the dockerhost into my system, the DigitalOcean server has to erase it too. Because always I try to create the Instance “dockerhost” using the command above retuned saying Host already exists.

Would you help on this matter,
Thanks!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there,

The docker-machine keeps track of known machines using files inside ~/.docker/machine/ - you should be able to find them there and remove those that you no longer need. Make sure to backup if you’re not sure.

Regards,
Bobby