GithubHelp home page GithubHelp logo

hode6's Introduction

Some TypeDB | Docker commands:


# Global root mode, with a local folder I can write to at /mnt.
# (The global data is at /var/lib/docker/volumes/typedb-data,
# which somehow can just be called "typedb-data" here.)
docker run --name typedb -d          \
  -v typedb-data:/opt/               \
  -v /home/jeff/hode6/hode-data:/mnt \
  -p 1729:1729                       \
  --platform linux/amd64             \
  vaticle/typedb:latest

# enter the Docker container
docker exec -it typedb bash

# start TypeDB
sleep 1
./typedb console

# kill it
docker stop typedb && docker rm typedb

TODO: This would be better.

# Local mode. DOES NOT WORK.
# Docker won't mount my own folder to the container's /opt.
docker run                              \
  --name typedb                         \
  -d                                    \
  -v /home/jeff/hode6/typedb-data:/opt/ \
  -p 1729:1729                          \
  --platform linux/amd64                \
  vaticle/typedb:latest

hode6's People

Contributors

jeffreybenjaminbrown avatar

Stargazers

Boticello avatar

Watchers

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