Skip to content

VizierDB/vizier-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

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

About

Dockerfile for the full stack vizier demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •