Permalink
Browse files

Only register services that match BUILD_ORG_NAME

  • Loading branch information...
darron committed Sep 2, 2014
1 parent 0c9a573 commit 86456265412bb966029fb13ce77891161fb3f3bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/octo
View
@@ -381,7 +381,7 @@ case "$1" in
;;
services:register)
- for container in $(sudo docker ps -q ); do
+ for container in $(sudo docker ps | grep $BUILD_ORG_NAME | awk '{ print $1 }'); do
ID=$container
PORT=$(inspect_to_get_external_port)
BASE=$(inspect_to_get_container_name)

0 comments on commit 8645626

Please sign in to comment.