Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

New Driver: Parallels Desktop for Mac #939

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
_ "github.com/docker/machine/drivers/hyperv"
_ "github.com/docker/machine/drivers/none"
_ "github.com/docker/machine/drivers/openstack"
_ "github.com/docker/machine/drivers/parallels"
_ "github.com/docker/machine/drivers/rackspace"
_ "github.com/docker/machine/drivers/softlayer"
_ "github.com/docker/machine/drivers/virtualbox"
Expand Down
1 change: 1 addition & 0 deletions docs/drivers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ identifier="smn_machine_drivers"
* [Generic](generic.md)
* [Microsoft Hyper-V](hyper-v.md)
* [OpenStack](openstack.md)
* [Parallels](parallels.md)
* [Rackspace](rackspace.md)
* [IBM Softlayer](soft-layer.md)
* [Oracle VirtualBox](virtualbox.md)
Expand Down
43 changes: 43 additions & 0 deletions docs/drivers/parallels.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!--[metadata]>
+++
title = "Parallels Desktop for Mac"
description = "Parallels Desktop driver for machine"
keywords = ["machine, Parallels Desktop, driver"]
[menu.main]
parent="smn_machine_drivers"
+++
<![end-metadata]-->

#### Parallels
Creates machines locally on [Parallels Desktop for Mac](http://www.parallels.com/products/desktop/).
Requires _Parallels Desktop for Mac_ version 11 or higher to be installed.

$ docker-machine create --driver=parallels prl-test

Options:

- `--parallels-boot2docker-url`: The URL of the boot2docker image.
- `--parallels-disk-size`: Size of disk for the host VM (in MB).
- `--parallels-memory`: Size of memory for the host VM (in MB).
- `--parallels-cpu-count`: Number of CPUs to use to create the VM (-1 to use the number of CPUs available).

The `--parallels-boot2docker-url` flag takes a few different forms. By
default, if no value is specified for this flag, Machine will check locally for
a boot2docker ISO. If one is found, that will be used as the ISO for the
created machine. If one is not found, the latest ISO release available on
[boot2docker/boot2docker](https://github.com/boot2docker/boot2docker) will be
downloaded and stored locally for future use. Note that this means you must run
`docker-machine upgrade` deliberately on a machine if you wish to update the "cached"
boot2docker ISO.

This is the default behavior (when `--parallels-boot2docker-url=""`), but the
option also supports specifying ISOs by the `http://` and `file://` protocols.

Environment variables and default values:

| CLI option | Environment variable | Default |
|-------------------------------|-----------------------------|--------------------------|
| `--parallels-boot2docker-url` | `PARALLELS_BOOT2DOCKER_URL` | *Latest boot2docker url* |
| `--parallels-cpu-count` | `PARALLELS_CPU_COUNT` | `1` |
| `--parallels-disk-size` | `PARALLELS_DISK_SIZE` | `20000` |
| `--parallels-memory` | `PARALLELS_MEMORY_SIZE` | `1024` |
Loading