1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration-cli
Brian Goff ef98fe0763 Make container.Copy support volumes
Fixes #1992

Right now when you `docker cp` a path which is in a volume, the cp
itself works, however you end up getting files that are in the
container's fs rather than the files in the volume (which is not in the
container's fs).
This makes it so when you `docker cp` a path that is in a volume it
follows the volume to the real path on the host.

archive.go has been modified so that when you do `docker cp mydata:/foo
.`, and /foo is the volume, the outputed folder is called "foo" instead
of the volume ID (because we are telling it to tar up
`/var/lib/docker/vfs/dir/<some id>` and not "foo", but the user would be
expecting "foo", not the ID

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2014-10-20 20:23:01 -04:00
..
docker_api_inspect_test.go Cleanup errorOut resp in inspect tests 2014-10-16 15:06:19 -07:00
docker_cli_attach_test.go Use prefix naming for attach tests 2014-09-19 21:56:25 +04:00
docker_cli_build_test.go Add a testcase to make sure we don't squash tabs or convert them to spaces 2014-10-17 15:52:48 -07:00
docker_cli_commit_test.go Cleanup errorOut resp in commit test 2014-10-16 15:05:00 -07:00
docker_cli_cp_test.go Make container.Copy support volumes 2014-10-20 20:23:01 -04:00
docker_cli_create_test.go Cleanup errorOut resp in create test 2014-10-16 15:05:00 -07:00
docker_cli_daemon_test.go Setting iptables=false should propagate to ip-masq=false 2014-10-16 11:52:14 -07:00
docker_cli_diff_test.go Cleanup errorOut resp in diff test 2014-10-16 15:05:00 -07:00
docker_cli_events_test.go integcli: lint fixes 2014-10-06 23:15:17 +03:00
docker_cli_exec_test.go Cleanup errorOut resp exec tests 2014-10-16 15:06:20 -07:00
docker_cli_export_import_test.go Cleanup errorOut resp in export test 2014-10-16 15:05:00 -07:00
docker_cli_history_test.go Cleanup errorOut resp in history test 2014-10-16 15:05:00 -07:00
docker_cli_images_test.go Cleanup errorOut resp in images tests 2014-10-16 15:06:20 -07:00
docker_cli_import_test.go integcli: lint fixes 2014-10-06 23:15:17 +03:00
docker_cli_info_test.go Cleanup errorOut resp in info test 2014-10-16 15:05:00 -07:00
docker_cli_inspect_test.go Cleanup errorOut resp in inspect tests 2014-10-16 15:06:19 -07:00
docker_cli_kill_test.go Cleanup errorOut resp in kill test 2014-10-16 15:05:00 -07:00
docker_cli_links_test.go Cleanup errorOut resp in links test 2014-10-16 15:05:00 -07:00
docker_cli_logs_test.go Cleanup errorOut resp log tests 2014-10-16 15:06:20 -07:00
docker_cli_nat_test.go Cleanup errorOut resp in nat test 2014-10-16 15:05:00 -07:00
docker_cli_port_test.go Cleanup errorOut resp in port test 2014-10-16 15:05:00 -07:00
docker_cli_ps_test.go Adding capability to filter by name, id or status to list containers api 2014-10-20 18:33:20 +00:00
docker_cli_pull_test.go Cleanup errorOut resp pull tests 2014-10-16 15:06:20 -07:00
docker_cli_push_test.go Cleanup errorOut resp in push tests 2014-10-16 15:06:20 -07:00
docker_cli_restart_test.go Cleanup errorOut resp restart tests 2014-10-16 15:06:20 -07:00
docker_cli_rm_test.go Replace '%s' in rm tests 2014-10-14 10:59:11 -07:00
docker_cli_rmi_test.go Cleanup errorOut resp in rmi tests 2014-10-16 15:06:20 -07:00
docker_cli_run_test.go Don't write pull output to stdout on container creating 2014-10-17 11:08:53 -07:00
docker_cli_save_load_test.go Cleanup errorOut resp in save tests 2014-10-16 15:06:20 -07:00
docker_cli_search_test.go Cleanup errorOut resp in search tests 2014-10-16 15:06:19 -07:00
docker_cli_start_test.go Fix #7843 2014-09-26 11:31:02 -04:00
docker_cli_tag_test.go Merge pull request #8511 from coolljt0725/fix_tag 2014-10-20 14:32:23 -07:00
docker_cli_top_test.go Cleanup errorOut resp in top tests 2014-10-16 15:06:20 -07:00
docker_cli_version_test.go Cleanup errorOut resp in version tests 2014-10-16 15:06:20 -07:00
docker_test_vars.go Fixes re-creating volume on (re)start 2014-10-08 16:25:51 -04:00
docker_utils.go Cleanup errorOut resp in docker_utils.go 2014-10-16 15:06:16 -07:00
MAINTAINERS Fix format in maintainers files 2014-06-02 07:05:06 +00:00
utils.go Cleanup errorOut remove errorOut functions 2014-10-16 15:06:20 -07:00