All Projects → Parallels → Docker Machine Parallels

Parallels / Docker Machine Parallels

Licence: mit
Parallels driver for Docker Machine https://github.com/docker/machine

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Docker Machine Parallels

Simple Notes
A simple textfield for adding quick notes without ads.
Stars: ✭ 386 (-1.28%)
Mutual labels:  hacktoberfest
Blueprint
Free, feature-rich, easily customizable Android dashboard for icon packs
Stars: ✭ 389 (-0.51%)
Mutual labels:  hacktoberfest
Mumble
Mumble is an open-source, low-latency, high quality voice chat software.
Stars: ✭ 4,418 (+1029.92%)
Mutual labels:  hacktoberfest
Gdlauncher
GDLauncher is a simple, yet powerful Minecraft custom launcher with a strong focus on the user experience
Stars: ✭ 386 (-1.28%)
Mutual labels:  hacktoberfest
Active delivery
Ruby framework for keeping all types of notifications (mailers, push notifications, whatever) in one place
Stars: ✭ 388 (-0.77%)
Mutual labels:  hacktoberfest
Uidevicecomplete
UIDevice extensions that fill in the missing pieces.
Stars: ✭ 390 (-0.26%)
Mutual labels:  hacktoberfest
Isort
A Python utility / library to sort imports.
Stars: ✭ 4,377 (+1019.44%)
Mutual labels:  hacktoberfest
Cortex
A horizontally scalable, highly available, multi-tenant, long term Prometheus.
Stars: ✭ 4,491 (+1048.59%)
Mutual labels:  hacktoberfest
Verible
Verible is a suite of SystemVerilog developer tools, including a parser, style-linter, and formatter.
Stars: ✭ 384 (-1.79%)
Mutual labels:  hacktoberfest
Kiwix Android
Kiwix for Android
Stars: ✭ 390 (-0.26%)
Mutual labels:  hacktoberfest
Stan
🕵️ Haskell STatic ANalyser
Stars: ✭ 386 (-1.28%)
Mutual labels:  hacktoberfest
Basque
A top-down 2d game engine, written from scratch in under 1000 lines of C. Development of the game based on this engine is streamed on Twitch: https://www.twitch.tv/ryanpcmcquen
Stars: ✭ 388 (-0.77%)
Mutual labels:  hacktoberfest
Devsonket.github.io
🎨🛠📌 সম্পূর্ণ বাংলায় ডেভেলপার চিটশিট 🎨🛠📌
Stars: ✭ 389 (-0.51%)
Mutual labels:  hacktoberfest
Online Judge
A modern open-source online judge and contest platform system.
Stars: ✭ 384 (-1.79%)
Mutual labels:  hacktoberfest
Refinerycms
An extendable Ruby on Rails CMS that supports Rails 6.0+
Stars: ✭ 3,825 (+878.26%)
Mutual labels:  hacktoberfest
Flow Typed
A central repository for Flow library definitions
Stars: ✭ 3,772 (+864.71%)
Mutual labels:  hacktoberfest
Btorrent
🌐 Fully-featured WebTorrent Client
Stars: ✭ 388 (-0.77%)
Mutual labels:  hacktoberfest
Goimagehash
Go Perceptual image hashing package
Stars: ✭ 391 (+0%)
Mutual labels:  hacktoberfest
Swag For Dev
😎 swag opportunities for developers
Stars: ✭ 3,905 (+898.72%)
Mutual labels:  hacktoberfest
Lagoon
Lagoon, the developer-focused application delivery platform
Stars: ✭ 391 (+0%)
Mutual labels:  hacktoberfest

Docker Machine Parallels Driver

This is a plugin for Docker Machine allowing to create Docker hosts locally on Parallels Desktop for Mac

Requirements

Installation

Install via MacPorts:

$ sudo port install docker-machine-parallels

Install via Homebrew:

$ brew install docker-machine-parallels

To install this plugin manually, download the binary docker-machine-driver-parallels and make it available by $PATH, for example by putting it to /usr/local/bin/:

$ curl -L https://github.com/Parallels/docker-machine-parallels/releases/download/v2.0.1/docker-machine-driver-parallels > /usr/local/bin/docker-machine-driver-parallels

$ chmod +x /usr/local/bin/docker-machine-driver-parallels

The latest version of docker-machine-driver-parallels binary is available on the "Releases" page.

Usage

Official documentation for Docker Machine is available here.

To create a Parallels Desktop virtual machine for Docker purposes just run this command:

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

Available 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).
  • --parallels-video-size: Size of video memory for host (in MB).
  • --parallels-share-folder: Path to the directory which should be shared with the host VM. Could be specified multiple times, once per each directory.
  • --parallels-no-share: Disable the sharing of any directory.
  • --parallels-nested-virtualization: Enable nested virtualization.

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 will be downloaded and stored locally for future use.

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
--parallels-video-size PARALLELS_VIDEO_SIZE 64
--parallels-share-folder - /Users
--parallels-no-share - false
--parallels-nested-virtualization - false

Development

Build from Source

If you wish to work on Parallels Driver for Docker machine, you'll first need Go installed (version 1.14+ is required). Make sure Go is properly installed, including setting up a GOPATH.

Run these commands to build the plugin binary:

$ go get -d github.com/Parallels/docker-machine-parallels
$ cd $GOPATH/src/github.com/Parallels/docker-machine-parallels
$ make build

After the build is complete, bin/docker-machine-driver-parallels binary will be created. If you want to copy it to the ${GOPATH}/bin/, run make install.

Managing Dependencies

When you make a fresh copy of the repo, all the dependencies are in vendor/ directory for the build to work. This project uses golang/dep as dependency management tool. Please refer to dep documentation for further details.

Acceptance Tests

We use Bats for acceptance testing, so, install it first.

You also need to build the plugin binary by calling make build.

Then you can run acceptance tests using this command:

$ make test-acceptance

Acceptance tests will invoke the general docker-machine binary available by $PATH. If you want to specify it explicitly, just set MACHINE_BINARY env variable:

$ MACHINE_BINARY=/path/to/docker-machine make test-acceptance

Authors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].