lesurp/PoistonTapContainer

Problem running run.sh

Closed this issue · 2 comments

When I run the script it says, line 9: Docker: command not found. Do I need to install something else to get this script to build and start?

Oh I should have been more specific in my README.
To use this container you need to install Docker, a tool that allows you to run "containers". This is close to a Virtual Machine (but not exactly the same). If you want to learn more about it, you should check Docker's website.

Depending on which system you want to run the Nodejs server on, it might not be worth getting into Docker just for that (although learning Docker is valuable in general), although you should honestly be able to install Docker and run my container without even understanding Docker at all.

If your system already uses a Nodejs version that supports the PoisonTap code (ECMAScript v6), you really don't have to bother with this container - just start PoisonTap node backend_server.js.
If, like me, you run Debian, for which the package Nodejs does not support ECMAScript v6, then using a container is definitely easier.

Hope that helped !

Okay I see thanks for the explanation, it makes more sense now. I am using Rasbian Jessie to run the nodejs server on I finally got it up and running with the backend_server.js you provided in your download actually, the other one that came with poison tap kept giving me errors.