git://scientific.zcu.cz
/
virtualization.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2266d87
)
Proper image to fetch.
author
František Dvořák
<valtri@civ.zcu.cz>
Thu, 28 Jan 2016 08:52:59 +0000
(09:52 +0100)
committer
František Dvořák
<valtri@civ.zcu.cz>
Thu, 28 Jan 2016 08:52:59 +0000
(09:52 +0100)
docker.sh
patch
|
blob
|
blame
|
history
diff --git
a/docker.sh
b/docker.sh
index
4c4dff3
..
8f9188c
100755
(executable)
--- a/
docker.sh
+++ b/
docker.sh
@@
-31,6
+31,8
@@
DOCKER_network='ics.muni.cz'
#DOCKER_network='bridge'
+IMAGE='valtri/hadoop-debian7'
+
# get the first free network device
devname() {
@@
-69,7
+71,7
@@
fi
if [ x"${1}" = x"init" ]; then
shift
- docker pull
valtri/hadoop:puppetlabs
+ docker pull
${IMAGE}
i=0
for d in ${DISKS}; do
i=$((i+1))
@@
-99,7
+101,7
@@
docker run -itd \
--restart=on-failure:0 \
${ARGS} \
"$@" \
-
valtri/hadoop-debian7
\
+
${IMAGE}
\
/sbin/init
# ==== public IPv4 ====