Running OrbitDB code in containers

Docker is a tool for running software in containers ie. OS-level virtualization. This directory contains the needed configuration files to:

  • Build base Docker images for OrbitDB

Base Docker image

Dockerfile defines OrbitDB base images that are based on official node.js -image.

Build local images with command (in repository root):

docker build -t orbit-db -f docker/Dockerfile .

After building local image, run node.js-examples inside container:

docker run -ti --rm orbit-db npm run examples:node

Tested versions

  • Docker 1.13.1 (Fedora Linux 27)