Closed edmorley closed 7 years ago
@edmorley thanks for the tip, I didn't know they added a --parallel parameter.
docker-compose now shows WARNING: --parallel option is deprecated and will be removed in future versions.
Does anybody know why?
@theronic https://github.com/docker/compose/blob/master/CHANGELOG.md#1210-2018-04-10
docker-compose pull is now performed in parallel by default. You can opt out using the --no-parallel flag. The --parallel flag is now deprecated and will be removed in a future version.
I noticed that the various docker images were being pulled sequentially and not in parallel (well to be more specific, each image downloaded its layers in parallel, but didn't start later images until the earlier ones were complete).
Until docker-compose enables
--parallel
by default (docker/compose#4556), it may be worth seeing if there's a speedup by running adocker-compose pull --parallel
prior to thedocker-compose up
to force the pull to be made in parallel. (I don't thinkup
will accept the--parallel
argument, hence the need to separate out that step).