Question

How I can remove the "dockerhost" from both local reference and remote instance?

Hi There!

LFD254

  1. So, when I use this command: $ docker-machine ls, it came out like that:

7611bfb91b1db6a956806a8c28ed827e8216a12ff957edd3633daa53db513a6a - digitalocean Error Unknown dropletID is invalid because cannot be less than 1 dockerhost - digitalocean Error Unknown dropletID is invalid because cannot be less than 1 helio-nyc1 - digitalocean Error Unknown dropletID is invalid because cannot be less than 1

  1. Then, I tried to remove them by docker-machine using this command: docker-machine rm 7611bfb91b1db6a956806a8c28ed827e8216a12ff957edd3633daa53db513a6a, it came out unexpected EOF,

also: docker-machine rm dockerhost, it came out unexpected EOF,

the same happened for this one too: docker-machine rm helio-nyc1,

it came out unexpected EOF,

I believe these host instances have to be removed on remote server side of the DigitalOcean.com, so I can build the dockerhost platform again, so I can do the Labs LFD254 Labs: 3.1-30

Thank You So Much! Helio


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.

If this does not work, feel free to share your config.json file here, just make sure to remove any sensitive information like tokens and etc.

Regards, Bobby