mirror of
https://github.com/linka-cloud/d2vm.git
synced 2024-11-17 13:36:24 +00:00
32 lines
956 B
Markdown
32 lines
956 B
Markdown
|
## d2vm convert
|
||
|
|
||
|
Convert Docker image to vm image
|
||
|
|
||
|
```
|
||
|
d2vm convert [docker image] [flags]
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
|
--append-to-cmdline string Extra kernel cmdline arguments to append to the generated one
|
||
|
-f, --force Override output qcow2 image
|
||
|
-h, --help help for convert
|
||
|
--network-manager string Network manager to use for the image: none, netplan, ifupdown
|
||
|
-o, --output string The output image, the extension determine the image format, raw will be used if none. Supported formats: qcow2 qed raw vdi vhd vmdk (default "disk0.qcow2")
|
||
|
-p, --password string The Root user password (default "root")
|
||
|
--pull Always pull docker image
|
||
|
-s, --size string The output image size (default "10G")
|
||
|
```
|
||
|
|
||
|
### Options inherited from parent commands
|
||
|
|
||
|
```
|
||
|
-v, --verbose Enable Verbose output
|
||
|
```
|
||
|
|
||
|
### SEE ALSO
|
||
|
|
||
|
* [d2vm](d2vm.md) -
|
||
|
|