Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman-machine rm default removed docker-machine named 'default' #12

Open
pixystone opened this issue Aug 14, 2019 · 4 comments
Open

podman-machine rm default removed docker-machine named 'default' #12

pixystone opened this issue Aug 14, 2019 · 4 comments

Comments

@pixystone
Copy link

pixystone commented Aug 14, 2019

DO NOT USE same machine name created by docker-machine

I have a boot2docker machine using docker-machine create default created before.

then I use podman-machine create default.

After podman-machine rm default, it would delete docker-machine named default instead without any warnings or check.

@afbjorklund
Copy link
Contributor

There is no namespacing of VMs, so everything will be shared in e.g. VirtualBox.

The current workaround was to not use the name "default", but call it "box" instead.

You should have gotten a question though, before it removed the (docker) machine ?

$ podman-machine rm default
About to remove default
WARNING: This action will delete both local reference and remote instance.
Are you sure? (y/n): 

@pixystone
Copy link
Author

Yes, I got it.

There was two VMs named default before. So I made this mistake. It removed the first one it met.

@afbjorklund
Copy link
Contributor

Did something need changing ?

Or is it enough with a big warning

@pixystone
Copy link
Author

Warning e.g. This action will delete both local reference and remote instance, including your docker-machine as well !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants