Merge pull request #8391 from crosbymichael/disable-v2-registry

Remove registry v2 code path
Merge pull request #8370 from duglin/ParserIndent

Fix builder/parser so it keeps some whitespace on split lines.
update test

Signed-off-by: Victor Vieux <vieux@docker.com>
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