Commit 7127098f authored by Madhura Bhave's avatar Madhura Bhave

Remove call to stop_docker

parent 51f9cdd1
......@@ -66,22 +66,10 @@ start_docker() {
docker daemon --data-root /scratch/docker ${server_args} >/tmp/docker.log 2>&1 &
echo $! > /tmp/docker.pid
trap stop_docker EXIT
sleep 1
until docker info >/dev/null 2>&1; do
echo waiting for docker to come up...
sleep 1
done
}
stop_docker() {
local pid=$(cat /tmp/docker.pid)
if [ -z "$pid" ]; then
return 0
fi
kill -TERM $pid
wait $pid
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment