$ docker-image -h
usage: docker-image [-h] [-f FILE] [-t TAGS] [-L]
{build,push,pull} [services [services ...]]
positional arguments:
{build,push,pull}
services
optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE docker-compose file (default: docker-compose.yml)
-t TAGS, --tags TAGS
-L, --dont-tag-latest
# Build service1 described in docker-compose.service1.yml
# Add tags `0.0.1`, `testing`, `latest`
# Use `-L` options to remove `latest` tag
$ docker-image -f docker-compose.service1.yml -t 0.0.1 -t testing build service1