add exec_on helper
so we don't repeat the remote docker invocation command (complete with hard-coded port) over and over again.
This commit is contained in:
1 parent
3ad186d727
commit
a7c9fd272c
8 files changed
+19
-12
No files matched your search
@@ -57,6 +57,13 @@ weave_on() {
|
||||
DOCKER_HOST=tcp://$host:2375 $WEAVE $@
|
||||
}
|
||||
|
||||
exec_on() {
|
||||
host=$1
|
||||
container=$2
|
||||
shift 2
|
||||
docker -H tcp://$host:2375 exec $container "$@"
|
||||
}
|
||||
|
||||
start_suite() {
|
||||
whitely echo $@
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user