{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/15515","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/15515/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/15515/comments","events_url":"https://api.github.com/repos/docker/docker/issues/15515/events","html_url":"https://github.com/docker/docker/issues/15515","id":100479675,"number":15515,"title":"btrfs loses information","user":{"login":"kolyshkin","id":4522509,"avatar_url":"https://avatars.githubusercontent.com/u/4522509?v=3","gravatar_id":"","url":"https://api.github.com/users/kolyshkin","html_url":"https://github.com/kolyshkin","followers_url":"https://api.github.com/users/kolyshkin/followers","following_url":"https://api.github.com/users/kolyshkin/following{/other_user}","gists_url":"https://api.github.com/users/kolyshkin/gists{/gist_id}","starred_url":"https://api.github.com/users/kolyshkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolyshkin/subscriptions","organizations_url":"https://api.github.com/users/kolyshkin/orgs","repos_url":"https://api.github.com/users/kolyshkin/repos","events_url":"https://api.github.com/users/kolyshkin/events{/privacy}","received_events_url":"https://api.github.com/users/kolyshkin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-12T06:54:35Z","updated_at":"2016-03-07T10:36:53Z","closed_at":"2016-03-07T10:36:52Z","body":"I am creating a new btrfs filesystem and try to build Docker on it, it fails like this:\r\n\r\n> Reading state information...\r\n> E: Unable to locate package ubuntu-zfs\r\n> E: Unable to locate package libzfs-dev\r\n> INFO[0203] The command '/bin/sh -c apt-get up\r\n\r\nI have isolated the problem and created a simple Dockerfile to demonstrate it. The following is 100% reproducible.\r\n\r\n```\r\n[root@tpad-rh7 btrt]# cat Dockerfile \r\nFROM ubuntu:14.04\r\nRUN     echo deb http://ppa.launchpad.net/zfs-native/stable/ubuntu trusty main > /etc/apt/sources.list.d/zfs.list\r\nRUN \tls -l /etc/apt/sources.list.d/zfs.list; cat /etc/apt/sources.list.d/zfs.list\r\n\r\n[root@tpad-rh7 btrt]# docker build .\r\nSending build context to Docker daemon 2.048 kB\r\nSending build context to Docker daemon \r\nStep 0 : FROM ubuntu:14.04\r\n ---> 8251da35e7a7\r\nStep 1 : RUN echo deb http://ppa.launchpad.net/zfs-native/stable/ubuntu trusty main > /etc/apt/sources.list.d/zfs.list\r\n ---> Running in 9abf6fdbe269\r\n ---> ccd977ffd4f5\r\nRemoving intermediate container 9abf6fdbe269\r\nStep 2 : RUN ls -l /etc/apt/sources.list.d/zfs.list; cat /etc/apt/sources.list.d/zfs.list\r\n ---> Running in c6f7fec07330\r\nls: cannot access /etc/apt/sources.list.d/zfs.list: No such file or directory\r\ncat: /etc/apt/sources.list.d/zfs.list: No such file or directory\r\nINFO[0000] The command '/bin/sh -c ls -l /etc/apt/sources.list.d/zfs.list; cat /etc/apt/sources.list.d/zfs.list' returned a non-zero code: 1 \r\n\r\n[root@tpad-rh7 btrt]# docker info\r\nContainers: 1\r\nImages: 5\r\nStorage Driver: btrfs\r\nExecution Driver: native-0.2\r\nKernel Version: 3.10.0-123.1.2.vz7.5.29\r\nOperating System: CloudLinux 7.1 (Vladimir Komarov)\r\nCPUs: 4\r\nTotal Memory: 3.699 GiB\r\nName: tpad-rh7\r\nID: 42ZR:DOQN:57ZB:GAEI:YR7W:IJVH:OSUJ:EBLJ:4TEP:WHTD:RVCJ:KHT2\r\nHttp Proxy: \r\nHttps Proxy: \r\nNo Proxy: \r\n[root@tpad-rh7 btrt]# docker version\r\nClient version: 1.6.2.el7\r\nClient API version: 1.18\r\nGo version (client): go1.4.2\r\nGit commit (client): c3ca5bb/1.6.2\r\nOS/Arch (client): linux/amd64\r\nServer version: 1.8.0-dev\r\nServer API version: 1.21\r\nGo version (server): go1.4.2\r\nGit commit (server): beab255-dirty\r\nOS/Arch (server): linux/amd64\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/193198691","html_url":"https://github.com/docker/docker/issues/15515#issuecomment-193198691","issue_url":"https://api.github.com/repos/docker/docker/issues/15515","id":193198691,"user":{"login":"unclejack","id":1409668,"avatar_url":"https://avatars.githubusercontent.com/u/1409668?v=3","gravatar_id":"","url":"https://api.github.com/users/unclejack","html_url":"https://github.com/unclejack","followers_url":"https://api.github.com/users/unclejack/followers","following_url":"https://api.github.com/users/unclejack/following{/other_user}","gists_url":"https://api.github.com/users/unclejack/gists{/gist_id}","starred_url":"https://api.github.com/users/unclejack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclejack/subscriptions","organizations_url":"https://api.github.com/users/unclejack/orgs","repos_url":"https://api.github.com/users/unclejack/repos","events_url":"https://api.github.com/users/unclejack/events{/privacy}","received_events_url":"https://api.github.com/users/unclejack/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T10:36:52Z","updated_at":"2016-03-07T10:36:52Z","body":"That kernel didn't seem to be a standard mainline kernel and it's quite old.\r\n\r\nPlease try an up to date kernel 3.10 from CentOS / RHEL and file a bug report on the appropriate bug tracker if you're still seeing that problem. CloudLinux is also not among the supported distributions and that might be related somehow as well.\r\n\r\nI'll close this issue now. Please comment if you run into this issue to open it again."}}