Quick deployment
In the folder install you have a set of scripts that will help you deploy a testing environment.
Using Vagrant
- Install Vagrant 
- cd vagrant 
- vagrant up 
This installs OpenNebula with OneDock support.
- vagrant ssh 
- sudo su - oneadmin 
- 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 onedockThen install as needed
- Install ONE - $ sudo ./install/ubuntu/install-one
- Install Docker - $ sudo ./install/ubuntu/install-docker
- Install the docker-registry - $ sudo ./install/ubuntu/install-registry
- Launch the docker-registry - $ sudo ./install/ubuntu/launch-registry
- 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 ashlanNow you can go to the next section, Using ONEDock, and start using ONE.
Last updated
