forked from nouiz/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.sh
executable file
·48 lines (44 loc) · 994 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env bash
usage="$(basename "$0") [package] -- run the selected package and have it connect to the outside
where:
package - one of
graphlab
h2o
julia
theano
vw
mllib
"
if [ $# -eq 0 ]
then
echo "No arguments supplied"
echo "$usage"
exit 1
fi
case "$1" in
graphlab)
docker run -d -p 8997:8997 startupml/graphlab
sleep 2 && open http://localhost:8997
;;
h2o)
docker run -d -p 8996:8996 startupml/h2o
sleep 3 && open http://localhost:8996
;;
julia)
docker run -d -p 8998:8998 startupml/julia
sleep 2 && open http://localhost:8998
;;
theano)
docker run -d -p 8999:8999 startupml/theano
sleep 2 && open http://localhost:8999
;;
vw)
docker run -it --rm startupml/vowpal_wabbit vw
;;
mllib)
docker run -i -t mllib /etc/bootstrap.sh -bash
;;
deeplearning4j)
docker image cod CDH4.6 tasktracker
;;
esac