Giter Club home page Giter Club logo

databox-container-manager's Introduction

Databox Container Manager

Databox OS container manager and dashboard server.

Installation

All Databox components, including the container manager, run in Docker containers. So first, install and run Docker: https://www.docker.com/products/docker

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.

Running

Once docker is installed, just run the flowing to get your databox up and running.

docker run \
	-v /var/run/docker.sock:/var/run/docker.sock \
	--name databox-cm \
	--label databox.type=container-manager \
	-p 8989:8989 \
	-t toshdatabox/databox-cm

Once Its started point a web browser at 127.0.0.1:8989 and have fun. This is databoxes normal mode of operation an will use an external app store and image repository for apps.

Development

To develop for the Databox platform, it may be necessary to run the platform in dev mode. This will enable a local app store and image repository to be run in containers on your machine. In this mode it is possible to build and replace any part of the platform.

First get the clone this repository:

git clone https://github.com/me-box/databox-container-manager.git
cd databox-container-manager
npm install

Then launch in dev mode by executing ./DevStartInContiner.sh. A shell inside the container manager will be launched, and additional instructions on commands to execute in this shell may be output.

NB: Mount ./certs and ./slaStore as volumes if you want ssl certs and launched apps to save between restarts.

To test a Databox app, follow app dev documentation to build it, then push the app image to the local registry that is launched automatically in dev mode (localhost:5000). The app can then be launched normally through the dashboard.

ENV VARS

  • DATABOX_DEV=1 enables dev mode
  • PORT=8081 overrides default port (8989)

databox-container-manager's People

Contributors

dominicjprice avatar jzstark avatar ktg avatar toshbrown avatar yousefamar avatar

Watchers

 avatar  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.