1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/container
Brian Goff df0d317a64 Add refcount for MountPoint
This makes sure that multiple users of MountPoint pointer can
mount/unmount without affecting each other.

Before this PR, if you run a container (stay running), then do `docker
cp`, when the `docker cp` is done the MountPoint is mutated such that
when the container stops the volume driver will not get an Unmount
request. Effectively there would be two mounts with only one unmount.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-04-28 16:01:25 -04:00
..
stream Resolve race conditions in attach API call 2017-02-01 09:01:36 +00:00
archive.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
container.go Add refcount for MountPoint 2017-04-28 16:01:25 -04:00
container_linux.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
container_notlinux.go add SecretMount and UnmountSecrets methods for non-Linux 2016-11-09 14:27:43 -05:00
container_unit_test.go Update docker stop and docker restart to allow not specifying timeout and use the one specified at container creation time. 2016-10-17 12:53:35 -07:00
container_unix.go Add --cpus support for docker update 2017-04-06 15:40:12 -07:00
container_windows.go Add missing resources to update block for Windows containers 2017-03-07 16:25:17 -08:00
env.go Move ReplaceOrAppendEnvValues to container package 2016-12-21 22:42:39 +01:00
env_test.go api: clarify that Env var without = is removed from the environment 2017-03-08 04:27:25 +00:00
health.go Fix deadlock on cancelling healthcheck 2016-11-15 20:10:16 -08:00
history.go
memory_store.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
memory_store_test.go Fix some output information for container test 2016-11-24 20:01:00 +08:00
monitor.go Move StreamConfig out of runconfig 2016-11-14 15:15:09 -05:00
mounts_unix.go
mounts_windows.go
state.go Use WaitWithContext for WaitStop 2016-11-16 22:08:37 -05:00
state_solaris.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
state_test.go Fix some output information for container test 2016-11-24 20:01:00 +08:00
state_unix.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
state_windows.go Re-export container state's ExitCode and Error fields 2016-08-30 14:17:09 -07:00
store.go