Fix #8398 - volumes copying data unexpectedly

Prior to the volumes re-factor, data was not being copied on
volumes-from or host-mounted volumes.
After the re-factor, data was being copied for volumes-from.
This reverts this unintentional change in behavior.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Merge pull request #8369 from vieux/add_test_rm

add test and move one from rm to rmi
Merge pull request #8417 from cpuguy83/8398_fix_automatic_data_copy_for_volumesfrom

volumes copying data unexpectedly
Merge pull request #8416 from LK4D4/fix_build_cache_test

Fix TestBuildCacheADD to check cache in out, not in id
pkg/truncindex: lint and add comments

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
pkg/units: lint

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
pkg/timeutils: lint and add comments

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
registry: lint

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
pkg/graphdb: some linting

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
integcli: lint fixes

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Merge pull request #8409 from unclejack/integcli_lint

integcli: lint fixes
google: fix typo

Docker-DCO-1.1-Signed-off-by: Johan Euphrosine <proppy@google.com> (github: proppy)
Container#AllocateNetwork: Simplify error handling.

The defer logic was a little tricky and was hiding one bug: `err` was
being redefined (with `:=`) and thus it escaped the defer error checking
logic.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Add test for ignoring invalid dockerfile instructions

Signed-off-by: Tibor Vass <teabee89@gmail.com>
Merge pull request #8426 from proppy/patch-12

google: fix typo
ignore invalid Dockerfile instructions and do not consider "docker-version" a Dockerfile instruction

Signed-off-by: Tibor Vass <teabee89@gmail.com>
Merge pull request #8341 from unclejack/add_workdir_test

add test for workdir env vars and add docs
Merge pull request #8304 from davide-ceretti/chore/prettify-docs-update.py

Prettify docs-update.py
Merge pull request #8382 from jamtur01/cli

Multiple fixes to the cli.md document.
back from camping, and making fred the docs 'guy in charge'

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)