Skip to content

Commit

Permalink
Merge pull request #13 from xiaoleigua/master
Browse files Browse the repository at this point in the history
eliminate "i++" error on boot2docker
  • Loading branch information
kiwenlau committed May 1, 2016
2 parents 550d52f + 13b125b commit ba29553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ do
sudo docker rm -f slave$i &> /dev/null
echo "start slave$i container..."
sudo docker run -d -t --dns 127.0.0.1 -P --name slave$i -h slave$i.kiwenlau.com -e JOIN_IP=$FIRST_IP kiwenlau/hadoop-slave:0.1.0 &> /dev/null
((i++))
i=$(( $i + 1 ))
done


Expand Down

0 comments on commit ba29553

Please sign in to comment.