{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-linux/issues/233","repository_url":"https://api.github.com/repos/docker/for-linux","labels_url":"https://api.github.com/repos/docker/for-linux/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-linux/issues/233/comments","events_url":"https://api.github.com/repos/docker/for-linux/issues/233/events","html_url":"https://github.com/docker/for-linux/issues/233","id":298759148,"number":233,"title":"Docker CLI - Support Export & Import of Checkpoints to/from Client File System","user":{"login":"marc-christian-schulze","id":3489547,"avatar_url":"https://avatars2.githubusercontent.com/u/3489547?v=4","gravatar_id":"","url":"https://api.github.com/users/marc-christian-schulze","html_url":"https://github.com/marc-christian-schulze","followers_url":"https://api.github.com/users/marc-christian-schulze/followers","following_url":"https://api.github.com/users/marc-christian-schulze/following{/other_user}","gists_url":"https://api.github.com/users/marc-christian-schulze/gists{/gist_id}","starred_url":"https://api.github.com/users/marc-christian-schulze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc-christian-schulze/subscriptions","organizations_url":"https://api.github.com/users/marc-christian-schulze/orgs","repos_url":"https://api.github.com/users/marc-christian-schulze/repos","events_url":"https://api.github.com/users/marc-christian-schulze/events{/privacy}","received_events_url":"https://api.github.com/users/marc-christian-schulze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-20T21:41:12Z","updated_at":"2018-02-27T20:26:52Z","closed_at":null,"author_association":"NONE","body":"* [] This is a bug report\r\n* [x] This is a feature request\r\n* [x] I searched existing issues before opening this one\r\n\r\n### Expected \r\nWhen creating a checkpoint and specifying a checkpoint directory I would expect the same behaviour as with the docker cp command. If run on the host the given destination path shall be relative to the hosts' file system and if run inside of a container the destination path should be relative to the container's filesystem.\r\n\r\n### Actual behavior\r\nCreating a checkpoint with a specific checkpoint directory specify will write the checkpoint files always relative to the host file system even if run from within a container. I would expect the `docker checkpoint create --checkpoint-dir=...` command to behave like `docker cp ...`\r\n\r\n### Steps to reproduce the behavior\r\n```\r\nhost$ docker run some_image\r\nhost$ docker ps \r\n ..... my_container\r\nhost$ docker run -v /var/run/docker.sock:/var/run/docker.sock -ti --rm docker\r\ndocker$ docker checkpoint create --checkpoint-dir=/test my_container some_checkpoint\r\ndocker$ ls /test\r\n# empty directory\r\ndocker$ exit\r\nhost$ ls /test\r\n# contains the checkpoint files\r\n```\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\n$ docker --version\r\nDocker version 17.05.0-ce, build 89658b\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\n$ docker info\r\nContainers: 148\r\n Running: 0\r\n Paused: 0\r\n Stopped: 148\r\nImages: 2225\r\nServer Version: 17.05.0-ce\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 2805\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins: \r\n Volume: local\r\n Network: bridge host ipvlan macvlan null overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 9048e5e50717ea4497b757314bad98ea3763c145\r\nrunc version: 9c2d8d184e5da67c95d601382adf14862e4f2228\r\ninit version: 949e6fa\r\nSecurity Options:\r\n apparmor\r\n seccomp\r\n  Profile: default\r\nKernel Version: 4.4.0-112-generic\r\nOperating System: Ubuntu 16.04.3 LTS\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 6\r\nTotal Memory: 7.794GiB\r\nName: azrael-GA-990FXA-UD3\r\nID: HDRT:NZN2:C2EF:4P3U:J2G6:XZ4R:VE4J:HGQS:EXTF:UX4S:JBEC:XCMX\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nExperimental: true\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nLive Restore Enabled: false\r\n\r\nWARNING: No swap limit support\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.)**\r\n\r\nPhysical Ubuntu 16.04 Environment\r\n"},"comment":{"url":"https://api.github.com/repos/docker/for-linux/issues/comments/369014850","html_url":"https://github.com/docker/for-linux/issues/233#issuecomment-369014850","issue_url":"https://api.github.com/repos/docker/for-linux/issues/233","id":369014850,"user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars3.githubusercontent.com/u/799078?v=4","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T20:26:52Z","updated_at":"2018-02-27T20:26:52Z","author_association":"NONE","body":"Evidently scattered across different (closed) issues.\r\nI opened https://github.com/moby/moby/issues/36433"}}
{"actor":{"display_login":"cpuguy83"}}