Question

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

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!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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