Improve refresh to match latest docker compose version

... a notice appeared due to a backwards incompatible
change
This commit is contained in:
Pierre Martin
2016-07-22 08:14:49 +02:00
parent b371235ff8
commit be3ab6d214

2
.zshrc
View File

@@ -44,7 +44,7 @@ dri() { docker rmi $(docker images -q --filter "dangling=true"); }
dgo() { docker exec -ti $@ bash }
dip() { docker inspect --format '{{ .NetworkSettings.IPAddress }}' "$@"; }
dcrefresh() {
dc stop $1 && dc rm -v -f $1 && dc up -d $1
dc stop $1 && dc rm -vf --all $1 && dc up -d $1
}
bundle() {