Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/mrgnw/scripts.
Something went wrong. Try again.
scripts docker-pull
196 B · 6 lines
1234567#!/bin/zshcompose_files=(**/docker-compose.(yml|yaml)(.N))
# build out list of `-f <file> -f <file>...`compose_cmds="${${compose_files[@]/#/-f }[*]}"eval "docker-compose ${compose_cmds} pull"