Coder Social home page Coder Social logo

vizier-docker's Introduction

Vizierdb

Vizier Desktop - Docker Image

This image is based on Alpine Linux image - a 5MB image - and contains OpenJDK 8.

Run the image from the docker.mimirdb.info registry.

By default everything runs on localhost with http scheme. The UI listens on port 5000 in the container and can be mapped to the desired port on the host. The API server listens on port 8089.

$ docker run --name vizier-scala -p 5000:5000 -p 8089:8089 okennedy/vizier:latest

Storing your notebooks locally

Having the notebooks stored in the docker container itself is often not very useful. To store notebooks on your host machine, e.g., in a directory /home/me/vizier-data, you can use docker's -v option to mount the directory into the container. Note that docker expects absolute paths. Vizier itself is state-less, so as long as the data directory is stored on the host, you will not loose any pogress when stopping and deleting the container.

$ mkdir vizier-data
$ docker run --name vizier --rm -p 5000:5000 -p 8089:8089 -v "$(pwd)"/vizier-data:/vizier.db okennedy/vizier:latest

Using a different port on the host

If you already have some other process listening on port 5000, you can tell docker to forward port 5000 from the container to a different port on the host. However, you need to inform Vizier about this too. For example, to forward to port 7000, do:

$ docker run --name vizier-scala -p 7000:5000 -p 8089:8089 okennedy/vizier:latest --public-url http://localhost:7000/

Build the image

Alternatively, the image can be built from the Dockerfile in this repo:

$ docker build <path/where/dockerfile/is/cloned>
Note: when running or building this docker image make sure that docker has at minimum 2.2 GB of memory allocated, otherwise it will fail.
Note: this is not intended to be a production image. it is for rapid setup of stack for demo/dev/testing

vizier-docker's People

Contributors

mrb24 avatar lordpretzel avatar okennedy avatar jayli2018 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.