Report this

What is the reason for this report?

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

Posted on July 13, 2021

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



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.