Public | Automated Build

Last pushed: a month ago
Short Description
openrefine v2.7 rc 2
Full Description

Java 8 (1.8.0_141) JRE server + Maven 3.5.0 + Python 3.5.2

Components:

  • OpenRefine 2.7-rc.2 http://<server_ip:3333>/
  • Oracle Java "1.8.0_141" JRE Runtime Environment for Server
  • Apache Maven 3.5.0
  • Python 3.5.2
  • Other tools: git wget unzip vim python python-setuptools python-dev python-numpy

Pull the image from Docker Repository

docker pull openkbs/openrefine

Base the image to build add-on components

FROM openkbs/openrefine

Run the image

Then, you're ready to run :
Make sure you create your work directory, e.g., /data

mkdir ./data
docker run -d --name my-openrefine -v $PWD/data:/data -i -t openkbs/openrefine

Build and Run your own image

Say, you will build the image "my/openrefine".

docker build -t my/openrefine .

To run your own image, say, with some-openrefine:

mkdir ./data
docker run -d --name some-openrefine -v $PWD/data:/data -i -t my/openrefine

Shell into the Docker instance

docker exec -it some-openrefine /bin/bash

Run openrefine web

For more information, please visit: https://github.com/OpenRefine/OpenRefine/releases/

Web UI:

Web UI: http://<ip_address>:3333/

Run Python code

To run Python code

docker run --rm openkbs/openrefine python -c 'print("Hello World")'

or,

mkdir ./data
echo "print('Hello World')" > ./data/myPyScript.py
docker run -it --rm --name some-openrefine -v "$PWD"/data:/data openkbs/openrefine python myPyScript.py

or,

alias dpy='docker run --rm openkbs/openrefine python'
dpy -c 'print("Hello World")'
Docker Pull Command
Owner
openkbs
Source Repository

Comments (0)