{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/19381","labels_url":"https://api.github.com/repos/docker/docker/issues/19381/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/19381/comments","events_url":"https://api.github.com/repos/docker/docker/issues/19381/events","html_url":"https://github.com/docker/docker/issues/19381","id":126991527,"number":19381,"title":"On Windows, docker container is not persisting data on stop/start or when committing to another image ","user":{"login":"krishna81m","id":2347180,"avatar_url":"https://avatars.githubusercontent.com/u/2347180?v=3","gravatar_id":"","url":"https://api.github.com/users/krishna81m","html_url":"https://github.com/krishna81m","followers_url":"https://api.github.com/users/krishna81m/followers","following_url":"https://api.github.com/users/krishna81m/following{/other_user}","gists_url":"https://api.github.com/users/krishna81m/gists{/gist_id}","starred_url":"https://api.github.com/users/krishna81m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krishna81m/subscriptions","organizations_url":"https://api.github.com/users/krishna81m/orgs","repos_url":"https://api.github.com/users/krishna81m/repos","events_url":"https://api.github.com/users/krishna81m/events{/privacy}","received_events_url":"https://api.github.com/users/krishna81m/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-16T01:28:41Z","updated_at":"2016-01-16T02:30:25Z","closed_at":null,"body":"Docker does not seem to be persisting container file changes when I stop/start or when I commit/save to an image and run the image.\r\n\r\nEnvironment: Windows 7 laptop\r\n\r\n$ docker version\r\nClient:\r\n Version:      1.9.0\r\n API version:  1.21\r\n Go version:   go1.4.3\r\n Git commit:   76d6bc9\r\n Built:        Tue Nov  3 19:20:09 UTC 2015\r\n OS/Arch:      windows/amd64\r\n\r\nServer:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.3\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 17:56:04 UTC 2015\r\n OS/Arch:      linux/amd64\r\n \r\n$ docker info\r\nContainers: 32\r\nImages: 279\r\nServer Version: 1.9.1\r\nStorage Driver: aufs\r\n Root Dir: /mnt/sda1/var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 343\r\n Dirperm1 Supported: true\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 4.1.13-boot2docker\r\nOperating System: Boot2Docker 1.9.1 (TCL 6.4.1); master : cef800b - Fri Nov 20 19:33:59 UTC 2015\r\nCPUs: 1\r\nTotal Memory: 1.956 GiB\r\nName: default\r\nID: AXXY:B6JJ:6M6W:LXME:VWED:BNEA:4MKU:LDP5:TWKR:CCUH:3SKV:BSBE\r\nDebug mode (server): true\r\n File Descriptors: 28\r\n Goroutines: 46\r\n System Time: 2016-01-16T02:28:33.17774389Z\r\n EventsListeners: 0\r\n Init SHA1:\r\n Init Path: /usr/local/bin/docker\r\n Docker Root Dir: /mnt/sda1/var/lib/docker\r\nLabels:\r\n provider=virtualbox\r\n\r\n<code>\r\n\r\nSteps:\r\n-- get cassandra image and run it\r\n-- run an image\r\n\r\ndocker run -v //c/docker-workspace/shared:/shared 66620dae02f5\r\n\r\n-- attach to container\r\n\r\nwinpty docker exec -it 51434fcc59db bash\r\n\r\n-- make a change to yaml file and save it\r\n\r\n[root@51434fcc59db /]# vi /etc/cassandra/conf/cassandra.yaml\r\n\r\n-- commit changes to container as a separate image\r\n\r\ndocker commit -a \"my\" -m \"cassandra with schema, data, thrift v2\" 51434fcc59db my-cassandra-with-schema-data-thrift-v2\r\n\r\n-- run the new image\r\n\r\ndocker run -v //c/docker-workspace/shared:/shared f27a11694228\r\n\r\n-- connect to container\r\n\r\nwinpty docker exec -it f27a11694228 bash\r\n</code>\r\n\r\n-- changes made to the new container image are lost ?\r\n-- even container stop/start does not show my change ?\r\n\r\nRepeated the same with pause=true and it does not work :-1: .\r\n\r\nhttps://forums.docker.com/t/docker-container-not-persisting-data-on-stop-start-or-when-committing-to-another-image/5612"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/172148086","html_url":"https://github.com/docker/docker/issues/19381#issuecomment-172148086","issue_url":"https://api.github.com/repos/docker/docker/issues/19381","id":172148086,"user":{"login":"krishna81m","id":2347180,"avatar_url":"https://avatars.githubusercontent.com/u/2347180?v=3","gravatar_id":"","url":"https://api.github.com/users/krishna81m","html_url":"https://github.com/krishna81m","followers_url":"https://api.github.com/users/krishna81m/followers","following_url":"https://api.github.com/users/krishna81m/following{/other_user}","gists_url":"https://api.github.com/users/krishna81m/gists{/gist_id}","starred_url":"https://api.github.com/users/krishna81m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krishna81m/subscriptions","organizations_url":"https://api.github.com/users/krishna81m/orgs","repos_url":"https://api.github.com/users/krishna81m/repos","events_url":"https://api.github.com/users/krishna81m/events{/privacy}","received_events_url":"https://api.github.com/users/krishna81m/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T02:30:25Z","updated_at":"2016-01-16T02:30:25Z","body":"Hmm, I thought I provided most of the information you asked already."}}