Files
docker-machine/docs/reference/rm.md
T

29 lines
800 B
Markdown
Raw Normal View History

2015-07-07 09:53:04 -07:00
<!--[metadata]>
+++
title = "rm"
description = "Remove a machine."
keywords = ["machine, rm, subcommand"]
[menu.main]
2015-08-05 10:57:17 -07:00
identifier="machine.rm"
2015-07-07 09:53:04 -07:00
parent="smn_machine_subcmds"
+++
<![end-metadata]-->
# rm
Remove a machine. This will remove the local reference as well as delete it
on the cloud provider or virtualization management platform.
2015-11-27 10:16:42 +01:00
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
foo0 - virtualbox Running tcp://192.168.99.105:2376
foo1 - virtualbox Running tcp://192.168.99.106:2376
2015-11-27 10:16:42 +01:00
$ docker-machine rm foo1
Do you really want to remove "foo1"? (y/n): y
Successfully removed foo1
2015-11-27 10:16:42 +01:00
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
foo0 - virtualbox Running tcp://192.168.99.105:2376