9 lines
179 B
Bash
9 lines
179 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
until [ "`/usr/bin/docker inspect -f {{.State.Running}} $1`"=="true" ]; do
|
||
|
echo "Waiting for $1 to go up..."
|
||
|
sleep 0.1;
|
||
|
done;
|
||
|
|
||
|
# docker logs --tail 100 -f $1
|