docker/docker — pull request #9304 by a-ba (2014-11-23 23:02:46+00:00)
Title: partial image export

close #3870

This PR introduces the `--exclude` option in `docker save` (and in the underlying API) to exclude the given layers from the created archive.

Note : I used --exclude instead of --have (as I suggested in #3870) because it is clearer in the documentation and consistent with the meaning of --exclude in archiving utilities like `tar`