do not send hostconfig at start, as we do on create now

Signed-off-by: Victor Vieux <vieux@docker.com>
archive: tests and benchmarks for hardlinks

Adding moar information, so benchmark comparisons can be moar
comparative.

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Vendor logrus logging framework

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Use logrus everywhere for logging

Fixed #8761

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Use common logging in engine

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Remove pkg/log

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Mass gofmt

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
removed redundant Clean

The doc (or src) says: The result is Cleaned.

http://golang.org/pkg/path/filepath/#Join

Signed-off-by: shuai-z <zs.broccoli@gmail.com>
Merge pull request #8641 from vbatts/vbatts-archive_test_and_benchmark

archive: tests and benchmarks for hardlinks
Merge pull request #8770 from LK4D4/logrus_support

Logrus support
Merge pull request #8782 from shuai-z/rm-clean

removed redundant Clean
builder: handle escapes without swallowing all of them.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
builder: whitelist verbs useful for environment replacement.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Merge pull request #8743 from vieux/hostconfig_start

do not send hostconfig at start, as we do on create now
Use archive.CopyWithTar in vfs.Create

The vfs storage driver currently shells out to the `cp` binary on the host
system to perform an 'archive' copy of the base image to a new directory.
The archive option preserves the modified time of the files which are created
but there was an issue where it was unable to preserve the modified time of
copied symbolic links on some host systems with an outdated version of `cp`.

This change no longer relies on the host system implementation and instead
utilizes the `CopyWithTar` function found in `pkg/archive` which is used
to copy from source to destination directory using a Tar archive, which
should correctly preserve file attributes.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
update sysinfo to logrus

Signed-off-by: Victor Vieux <vieux@docker.com>
Merge pull request #8805 from vieux/update_sysinfo_to_logrus

update `pkg` to logrus
Merge pull request #8778 from erikh/builder_fixes

Builder: Environment replacement fixes
builder: Restore /bin/sh handling in CMD when entrypoint is specified with JSON

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Merge pull request #8809 from erikh/builder_cmd_sh_fix

builder: Restore /bin/sh handling in CMD when entrypoint is specified with JSON