Public Repository

Last pushed: 6 months ago
Short Description
Docker image with the Vagrant provider for VMware vCloud Director®
Full Description

plossys/vagrant-vcloud

Docker image with the Vagrant provider for VMware vCloud Director®

Installation

There is a helper script vcloud that should be installed on your local machine in addition to a Docker engine.

Linux / macOS

Download the helper/vcloud.sh script and put it into a directory of your PATH.

curl -o vcloud https://raw.githubusercontent.com/plossys/vagrant-vcloud/my/helper/vcloud.sh
chmod +x vcloud

Windows

Download the helper/vcloud.bat script and put it into a directory of your PATH.

Invoke-WebRequest -Outfile vcloud.bat -Uri https://raw.githubusercontent.com/plossys/vagrant-vcloud/my/helper/vcloud.bat -UseBasicParsing

Configuration

You can use the vcloud configure command to retrieve your vCloud org settings that should be placed in your global Vagrantfile.

vcloud configure --hostname yourCloud --username yourAccount --orgname yourOrg

Put the output into your global Vagrantfile and adjust the user + password or use the given environment variables. You also should create a separate user in your vOrg with vOrg Administration rights for Vagrant.

Usage

With the vcloud helper script you can run commands like this

vcloud up
vcloud up registry
vcloud ssh registry
vcloud status
vcloud halt
vcloud destroy -f

This script maps your global Vagrantfile with your vCloud settings to /user and the current directory with the project Vagrantfile and provision scripts to /work into the container.

Build the image

docker build -t plossys/vagrant-vcloud .

See also

Docker Pull Command
Owner
plossys

Comments (0)