Public Repository

Last pushed: a year ago
Short Description
RPi-compatible Docker Image with io.js
Full Description

Supported tags and respective Dockerfile links

rpi-iojs

Raspberry Pi compatible Docker base image with io.js.

How to use this image

If you want to distribute your application on the docker registry, create a Dockerfile in the root of application directory:

FROM hypriot/rpi-iojs:onbuild

# Expose the ports that your app uses. For example:
EXPOSE 8080

Then simply run:

$ docker build -t rpi-iojs-app .
...
$ docker run --rm -it rpi-iojs-app

To run a single script, you can mount it in a volume under /usr/src/app. From the root of your application directory (assuming your script is named index.js):

$ docker run -v ${PWD}:/usr/src/app -w /usr/src/app -it --rm hypriot/rpi-iojs iojs index.js

License

View license information for the software contained in this image.

Docker Pull Command
Owner
hypriot

Comments (0)