Databox OS container manager and dashboard server.
###Linux
Install docker https://docs.docker.com/engine/installation/linux/
Install nodejs https://nodejs.org/en/download/
###MacOS
Install docker https://docs.docker.com/docker-for-mac/
Install nodejs https://nodejs.org/en/download/
Known issues:
In some cases, the time in docker containers on mac can get out of sync with the system clock. This causes the HTTPS certs generated by the CM from being valid. See docker/for-mac#17. Fix: restart docker for mac.
###Windows (untested)
Install docker https://docs.docker.com/docker-for-windows/ (The old Docker Toolbox is not supported) Install nodejs https://nodejs.org/en/download/
###All
git clone https://github.com/me-box/databox-container-manager.git
cd databox-container-manager
npm install --production
To update your hosts file with arbiter and registry IP, run the following with root permissions:
npm run sethosts
In production mode (remote docker registry and remote app store)
npm start
In development (local docker registry and local App store)
DATABOX_DEV=1 npm start
Note: in dev mode some extra configuration is required. Follow the on screen instructions.
Default port is 8989, but can be overridden using the PORT environment variable, i.e.:
PORT=8081 npm start
Then browse to http://localhost:8989/.