$ docker build -t simreprap .
$ docker run --rm -v $PWD:/simreprap -p 3000:3000 -i -t simreprap
$ telnet $(boot2docker ip) 3000
Trying 192.168.59.103...
Connected to 192.168.59.103.
Escape character is '^]'.
start
echo:Marlin 1.0.0
...
This assumes boot2docker
, you can just use localhost
if running on the
Docker host. Also, feel free to replace telnet
with nc
.
$ socat pty,link=/tmp/simreprap tcp:$(boot2docker ip):3000
Then direct e.g. Pronterface to connect to the "port" at /tmp/simreprap.