Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
[PIO-212] pio-docker properly identify container
Browse files Browse the repository at this point in the history
pio-docker to identify container by image id
described in docker/docker-compose.yml
  • Loading branch information
bostko authored Oct 17, 2019
1 parent b2ef983 commit 9c906e5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docker/bin/pio-docker
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ get_container_id() {
echo $PIO_CONTAINER_ID
return
fi
for i in `docker ps -f "name=pio" -q` ; do
echo $i
return
done
docker ps -f ancestor=predictionio/pio -q
}

get_current_dir() {
Expand Down

0 comments on commit 9c906e5

Please sign in to comment.