Quick deployment

In the folder install you have a set of scripts that will help you deploy a testing environment.

Using Vagrant

  1. Install Vagrant

  2. cd vagrant

  3. vagrant up

This installs OpenNebula with OneDock support.

  1. vagrant ssh

  2. sudo su - oneadmin

  3. onevm create --memory 512 --cpu 1 --disk ubuntu --nic private --net_context

You can use onevm show to find out the IP and connect to the container using SSH.

Using it in a VM (or bare metal)

Clone the repository and get into the folder

$ git clone https://github.com/indigo-dc/onedock
$ cd onedock

Then install as needed

  1. Install ONE $ sudo ./install/ubuntu/install-one

  2. Install Docker $ sudo ./install/ubuntu/install-docker

  3. Install the docker-registry $ sudo ./install/ubuntu/install-registry

  4. Launch the docker-registry $ sudo ./install/ubuntu/launch-registry

  5. Follow the instructions in the Installation section or execute $ sudo ./install/ubuntu/install-onedock

In this example we use the ubuntu scripts, but be aware that there are also scripts to install ONEDock in CentOS7.

Using it into a lxc container

If you want a single-node stand-alone installation of ONEDock, you can get a running lxc container in an ubuntu 14.04 distro by simply executing the next commands (this installation assumes that you have installed lxc):

$ git clone https://github.com/indigo-dc/onedock
$ cd onedock/install/lxc
$ ./create-lxc ashlan --create
$ lxc-attach -n ashlan

Now you can go to the next section, Using ONEDock, and start using ONE.

Last updated