Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5e866e3

Browse files
committed
Using docker pause.
1 parent 2d5bbe4 commit 5e866e3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.travis/start_db.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ fi
2525

2626
# Save the oracledata dir to cache.
2727
if [ ! -f $HOME/$ORACLE_VERSION.tar.gz ]; then
28-
docker stop $ORACLE_VERSION
28+
docker pause $ORACLE_VERSION
2929
sudo tar -zcf $CACHE_DIR/$ORACLE_VERSION.tar.gz $HOME/$ORACLE_VERSION
30-
docker start $ORACLE_VERSION
31-
docker logs -f $ORACLE_VERSION | grep -m 1 "DATABASE IS READY TO USE!" --line-buffered
30+
docker unpause $ORACLE_VERSION
3231
fi

0 commit comments

Comments
 (0)