{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/22596","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/22596/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/22596/comments","events_url":"https://api.github.com/repos/docker/docker/issues/22596/events","html_url":"https://github.com/docker/docker/issues/22596","id":153742759,"number":22596,"title":"docker cp copies /var/run from host filesystem","user":{"login":"astopy","id":428423,"avatar_url":"https://avatars.githubusercontent.com/u/428423?v=3","gravatar_id":"","url":"https://api.github.com/users/astopy","html_url":"https://github.com/astopy","followers_url":"https://api.github.com/users/astopy/followers","following_url":"https://api.github.com/users/astopy/following{/other_user}","gists_url":"https://api.github.com/users/astopy/gists{/gist_id}","starred_url":"https://api.github.com/users/astopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astopy/subscriptions","organizations_url":"https://api.github.com/users/astopy/orgs","repos_url":"https://api.github.com/users/astopy/repos","events_url":"https://api.github.com/users/astopy/events{/privacy}","received_events_url":"https://api.github.com/users/astopy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/runtime","name":"area/runtime","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-09T10:04:04Z","updated_at":"2016-05-09T10:56:06Z","closed_at":"2016-05-09T10:56:06Z","body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:      1.11.1\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   5604cbe\r\n Built:        Tue Apr 26 23:30:23 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.11.1\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   5604cbe\r\n Built:        Tue Apr 26 23:30:23 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 21\r\n Running: 20\r\n Paused: 0\r\n Stopped: 1\r\nImages: 17\r\nServer Version: 1.11.1\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 203\r\n Dirperm1 Supported: false\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: host bridge null\r\nKernel Version: 3.13.0-85-generic\r\nOperating System: Ubuntu 14.04.4 LTS\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 1\r\nTotal Memory: 3.661 GiB\r\nName: ip-10-45-47-19\r\nID: Q6MZ:7LDC:GKQ4:2ZOO:HAUJ:TFG3:TZZI:D3JT:OVM7:BF6R:IUDK:OJT3\r\nDocker Root Dir: /var/lib/docker\r\nDebug mode (client): false\r\nDebug mode (server): false\r\nUsername: zooniversedeployment\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No swap limit support\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\nAWS\r\n\r\n**Steps to reproduce the issue:**\r\n\r\n```\r\nubuntu@ip-10-45-47-19:~$ docker exec -it current_redis_1 bash\r\nroot@7df18990c43e:/data# ls /var/\r\nbackups  cache  lib  local  lock  log  mail  opt  run  spool  tmp\r\nroot@7df18990c43e:/data# ls /var/run/\r\nlock  utmp\r\nroot@7df18990c43e:/data# exit\r\nubuntu@ip-10-45-47-19:~$ mkdir redis\r\nubuntu@ip-10-45-47-19:~$ docker cp current_redis_1:/var/ redis/\r\nubuntu@ip-10-45-47-19:~$ ls redis/var/\r\nbackups  cache  lib  local  lock  log  mail  opt  run  spool  tmp\r\nubuntu@ip-10-45-47-19:~$ ls redis/var/run\r\nacpid.pid     containerd    dhclient.eth0.pid  initramfs     mount                       plymouth      runc             sshd      upstart-file-bridge.pid    utmp\r\nacpid.socket  crond.pid     docker             lock          network                     pppconfig     screen           sshd.pid  upstart-socket-bridge.pid\r\natd.pid       crond.reboot  docker.pid         monit.pid     network-interface-security  resolvconf    sendsigs.omit.d  systemd   upstart-udev-bridge.pid\r\ncloud-init    dbus          docker.sock        motd.dynamic  ntpd.pid                    rsyslogd.pid  shm              udev      user\r\nubuntu@ip-10-45-47-19:~$ ls /var/run/\r\nacpid.pid     containerd    dhclient.eth0.pid  initramfs     mount                       plymouth      runc             sshd      upstart-file-bridge.pid    utmp\r\nacpid.socket  crond.pid     docker             lock          network                     pppconfig     screen           sshd.pid  upstart-socket-bridge.pid\r\natd.pid       crond.reboot  docker.pid         monit.pid     network-interface-security  resolvconf    sendsigs.omit.d  systemd   upstart-udev-bridge.pid\r\ncloud-init    dbus          docker.sock        motd.dynamic  ntpd.pid                    rsyslogd.pid  shm              udev      user\r\n```\r\n\r\n**Describe the results you received:**\r\n\r\n/var/run is copied from the host filesystem.\r\n\r\n**Describe the results you expected:**\r\n\r\n/var/run should be copied from the container's volume\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/217834721","html_url":"https://github.com/docker/docker/issues/22596#issuecomment-217834721","issue_url":"https://api.github.com/repos/docker/docker/issues/22596","id":217834721,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T10:56:06Z","updated_at":"2016-05-09T10:56:06Z","body":"I'll close this issue, because I don't think there's a bug here, but feel free to comment after I closed"}}