1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
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
..
execdriver Fix lxc driver build issue on Mac OS X 2014-10-17 09:41:23 +08:00
graphdriver Merge pull request #8232 from vbatts/vbatts-devmapper_getDeps 2014-10-16 14:13:21 -07:00
networkdriver pass extra file to child process as status handler 2014-10-08 12:53:43 -04:00
attach.go Make daemon.Attach private 2014-10-17 13:20:02 -07:00
changes.go Move "changes" to daemon/changes.go 2014-08-01 14:24:46 -04:00
commit.go Move "commit" to daemon/commit.go 2014-08-01 14:17:24 -04:00
config.go Merge pull request #6101 from LK4D4/ip_range_#4986 2014-09-22 17:09:16 +03:00
container.go Make container.Copy support volumes 2014-10-20 20:23:01 -04:00
container_unit_test.go Ensure container names start with a-zA-Z0-9 2014-09-12 10:45:07 -07:00
copy.go Move "copy" to daemon/copy.go 2014-08-01 14:24:41 -04:00
create.go Disable stable IPs. 2014-10-09 15:15:17 -07:00
daemon.go Setting iptables=false should propagate to ip-masq=false 2014-10-16 11:52:14 -07:00
daemon_aufs.go Extract log utils into pkg/log 2014-08-13 15:18:15 -07:00
daemon_btrfs.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
daemon_devicemapper.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
daemon_no_aufs.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
daemon_unit_test.go update tests 2014-09-30 19:10:03 +00:00
delete.go Disable stable IPs. 2014-10-09 15:15:17 -07:00
exec.go Make daemon.Attach private 2014-10-17 13:20:02 -07:00
export.go Separate events subsystem 2014-08-06 10:08:19 +00:00
history.go don't call sort for every add in history 2014-05-14 15:02:02 +03:00
image_delete.go Removing an image that fails, also removes the image name/tag. 2014-09-11 11:29:25 -07:00
info.go Extract log utils into pkg/log 2014-08-13 15:18:15 -07:00
inspect.go Proper JSON handling of strings that could be represented as other types 2014-09-16 13:51:02 -04:00
kill.go Separate events subsystem 2014-08-06 10:08:19 +00:00
list.go Adding capability to filter by name, id or status to list containers api 2014-10-20 18:33:20 +00:00
logs.go daemon/logs: lower allocations in loop 2014-09-22 18:57:28 +03:00
MAINTAINERS Add maintainers to daemon/ and graph/ 2014-08-06 10:29:15 +00:00
monitor.go Fix typo:betweem->between and PtySlace->PtySlave 2014-09-30 07:22:09 -04:00
network_settings.go Support for consistent MAC address. 2014-10-03 13:22:38 -07:00
pause.go Separate events subsystem 2014-08-06 10:08:19 +00:00
README.md Add readme for daemon directory 2014-05-17 17:56:02 +00:00
resize.go Splitting the exec remote API into two separate APIs inorder to support resizing of tty sessions. 2014-09-15 22:56:47 +00:00
restart.go Separate events subsystem 2014-08-06 10:08:19 +00:00
start.go API: Provide the HostConfig during "run". 2014-09-25 15:24:38 -07:00
state.go Filter containers by status. 2014-09-29 20:11:19 -07:00
state_test.go Fix go vet warnings 2014-08-13 11:37:30 +04:00
stop.go Use State as embedded to Container 2014-09-03 00:01:11 +04:00
top.go Use State as embedded to Container 2014-09-03 00:01:11 +04:00
utils.go Strongly type exec driver context 2014-09-29 22:40:26 +00:00
utils_linux.go --selinux-enabled flag should be ignored on Disabled SELinux systems 2014-09-23 13:21:25 -04:00
utils_nolinux.go --selinux-enabled flag should be ignored on Disabled SELinux systems 2014-09-23 13:21:25 -04:00
utils_test.go Strongly type exec driver context 2014-09-29 22:40:26 +00:00
volumes.go Make container.Copy support volumes 2014-10-20 20:23:01 -04:00
wait.go Fix container wait error message to match server template for returning 404 2014-09-19 13:33:00 -04:00

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver
  • networkdriver

Code pertaining to storing images:

  • graphdriver