GithubHelp home page GithubHelp logo

robertdigital / docker-machine-driver-vmware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from machine-drivers/docker-machine-driver-vmware

0.0 1.0 0.0 1.62 MB

Docker machine driver for VMware Fusion and Workstation.

Home Page: https://www.vmware.com/products/personal-desktop-virtualization.html

License: Apache License 2.0

Makefile 1.20% Shell 8.20% Go 90.59%

docker-machine-driver-vmware's Introduction

Docker Machine VMware Driver

Create Docker machines locally on VMware Fusion and Workstation.

This driver requires VMware Workstation 14 (Windows/Linux) or VMware Fusion 10 (MacOS) to be installed on your host. Earlier versions of Workstation/Fusion might still work with this driver, but it's not officially supported.

Docker machine has a builtin driver called vmwarefusion. The main difference between those drivers is that vmware also works on VMware Workstation, while vmwarefusion only works on VMware Fusion.

Installation

From a Release

The latest version of the docker-machine-driver-vmware binary is available on the GithHub Releases page. Download the the binary that corresponds to your OS into a directory residing in your PATH.

From Homebrew

The driver is available for easy installation via Homebrew on macOS.

$ brew install docker-machine-driver-vmware

From Source

Make sure you have installed Go and configured GOPATH properly. For MacOS and Linux, make sure $GOPATH/bin is part of your $PATH for MacOS and Linux. For Windows, make sure %GOPATH%\bin is included in %PATH%.

Run the following command:

go get -u github.com/machine-drivers/docker-machine-driver-vmware

Usage

$ docker-machine create --driver=vmware default

Options

  • --vmware-boot2docker-url: URL for boot2docker image
  • --vmware-configdrive-url: URL for cloud-init configdrive
  • --vmware-cpu-count: Number of CPUs for the machine (-1 to use the number of CPUs available)
  • --vmware-disk-size: Size of disk for host VM (in MB)
  • --vmware-memory-size: Size of memory for host VM (in MB)
  • --vmware-no-share: Disable the mount of your home directory
  • --vmware-ssh-password: SSH password
  • --vmware-ssh-user: SSH user

Environment variables and default values

CLI option Environment variable Default
--vmware-boot2docker-url VMWARE_BOOT2DOCKER_URL Latest boot2docker url
--vmware-configdrive-url VMWARE_CONFIGDRIVE_URL -
--vmware-cpu-count VMWARE_CPU_COUNT 1
--vmware-disk-size VMWARE_DISK_SIZE 20000
--vmware-memory-size VMWARE_MEMORY_SIZE 1024
--vmware-no-share VMWARE_NO_SHARE -
--vmware-ssh-password VMWARE_SSH_PASSWORD tcuser
--vmware-ssh-user VMWARE_SSH_USER docker

License

It's under the Apache 2 license.

docker-machine-driver-vmware's People

Contributors

frapposelli avatar nerro avatar anfernee avatar mikeroysoft avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.