Public | Automated Build

Last pushed: 2 months ago
Short Description
Docker runs jupyter notebook and xframes.
Full Description

Run XFrames Docker

These commands run Spark and XFrames in a docker,
that you can access using a Jupyter notebook.


Make sure there is a notebooks directory and data directory.
Then run:

docker run -d --rm --name xframes \
-p 8888:8888 \
-v $PWD/notebooks:/home/jovyan/work \
-v $PWD/data /data \

Then browse to localhost:8888 to enter the notebook.

If you want, you can replace $PWD/notebooks and $PWD/data with
other directories on your machine. You must pass an absolute pathname.
These directories store the notebooks and data that you access
through the Jupyter notebook.


To stop the docker:

docker stop xframes

Using XFrames Docker

Run notebook

Browse to localhost:8888.

You can test by creatng an (python2) notebook, and then
entering the test program in the first cell.

from xframes import XFrame

xf = XFrame({'id': [1, 2, 3], 'val': ['a', 'b', 'c']})
print xf

From within the notebook, access the data via /data/<file>
For example:

xf = XFrame('/data/some-file.csv')
print xf
Docker Pull Command
Source Repository

Comments (0)