Sign inSign up

fkmy/ngt-docker

By fkmy

•Updated about 8 years ago

This is a docker image to use yahoojapan/NGT and those python binding.

Image
0

869

fkmy/ngt-docker repository overview

⁠NGT docker

This is a docker image to use yahoojapan/NGT⁠ and those python binding.
If you create own docker image from this image, you can create a service work with NGT easier.

⁠How to use

$ docker run --name ngtdev -it --rm -v `pwd`:/opt/dev fkmy/ngt-docker:latest bash
root@8918f9ee6584:/opt/NGT# ngt
Usage : ngt command database data
           command : create search remove append export import reconstruct-graph
root@8918f9ee6584:/opt/NGT# python
Python 3.6.6 (default, Sep  5 2018, 03:40:52)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ngt import base as ngt

⁠Rebuild image

$ docker build \
    --build-arg NGT_VERSION=1.4.0 \
    --build-arg PYBIND_COMMIT=9343e68b4611926fb9bae4c01a61c83841b1a0a8 \
    -t fkmy/ngt-docker:1.4.0 .

Tag summary

Content type

Image

Digest

Size

358.5 MB

Last updated

about 8 years ago

docker pull fkmy/ngt-docker