diff options
Diffstat (limited to 'testing/start-saio.sh')
| -rwxr-xr-x | testing/start-saio.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/start-saio.sh b/testing/start-saio.sh new file mode 100755 index 0000000..81cf845 --- /dev/null +++ b/testing/start-saio.sh @@ -0,0 +1,7 @@ +#!/bin/sh +if docker inspect schwift-testing &>/dev/null; then + echo 'Already running.' +else + # The `readlink -f` converts the path to repo/testing/data to an absolute path. + exec docker run --name schwift-testing -P -v "$(readlink -f "$(dirname $0)")/data:/swift/nodes" -t bouncestorage/swift-aio +fi |
