{"action":"created","issue":{"url":"https://api.github.com/repos/moby/moby/issues/34897","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/34897/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/34897/comments","events_url":"https://api.github.com/repos/moby/moby/issues/34897/events","html_url":"https://github.com/moby/moby/issues/34897","id":258928788,"number":34897,"title":"Error creating overlay mount: invalid argument after changing data-root","user":{"login":"nihiluis","id":24858082,"avatar_url":"https://avatars2.githubusercontent.com/u/24858082?v=4","gravatar_id":"","url":"https://api.github.com/users/nihiluis","html_url":"https://github.com/nihiluis","followers_url":"https://api.github.com/users/nihiluis/followers","following_url":"https://api.github.com/users/nihiluis/following{/other_user}","gists_url":"https://api.github.com/users/nihiluis/gists{/gist_id}","starred_url":"https://api.github.com/users/nihiluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nihiluis/subscriptions","organizations_url":"https://api.github.com/users/nihiluis/orgs","repos_url":"https://api.github.com/users/nihiluis/repos","events_url":"https://api.github.com/users/nihiluis/events{/privacy}","received_events_url":"https://api.github.com/users/nihiluis/received_events","type":"User","site_admin":false},"labels":[{"id":73616520,"url":"https://api.github.com/repos/moby/moby/labels/area/builder","name":"area/builder","color":"fbca04","default":false},{"id":616332869,"url":"https://api.github.com/repos/moby/moby/labels/version/17.06","name":"version/17.06","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-19T19:03:11Z","updated_at":"2017-09-19T19:39:37Z","closed_at":null,"author_association":"NONE","body":"**Description**\r\n\r\nDocker was working ok. I then changed the data-root via /etc/docker/daemon.json. Since then my own Dockerfiles produce this error on build:\r\n\r\n```\r\nerror creating overlay mount to /mnt/windows/docker/data/overlay2/f41cef78430be3ad40ef135757e30dec02680883f3a741d5132963a6c3b83e35-init/merged: invalid argument\r\n```\r\n\r\nIt always happens before the CMD step, for any container I create.\r\n**Steps to reproduce the issue:**\r\n1. Specify custom directory\r\n2. docker build\r\n3.\r\n\r\n**Describe the results you received:**\r\nit not happen\r\n\r\n**Describe the results you expected:**\r\nit happen build\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\narch linux\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:      17.06.1-ce\r\n API version:  1.30\r\n Go version:   go1.8.3\r\n Git commit:   874a7374f3\r\n Built:        Wed Aug 23 22:45:26 2017\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      17.06.1-ce\r\n API version:  1.30 (minimum version 1.12)\r\n Go version:   go1.8.3\r\n Git commit:   874a7374f3\r\n Built:        Thu Aug 24 00:45:43 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: false\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 0\r\n Running: 0\r\n Paused: 0\r\n Stopped: 0\r\nImages: 5\r\nServer Version: 17.06.1-ce\r\nStorage Driver: overlay2\r\n Backing Filesystem: <unknown>\r\n Supports d_type: true\r\n Native Overlay Diff: false\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins: \r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\n Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 6e23458c129b551d5c9871e5174f6b1b7f6d1170\r\nrunc version: 810190ceaa507aa2727d7ae6f4790c76ec150bd2\r\ninit version: 949e6fa\r\nSecurity Options:\r\n seccomp\r\n  Profile: default\r\nKernel Version: 4.12.8-2-ARCH\r\nOperating System: Arch Linux\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 5.517GiB\r\nName: X\r\nID: 2AXY:OV6J:DGEF:SYIJ:5MXE:GKIT:ONOL:HE4K:TEL3:Y5R4:7WPB:XB4A\r\nDocker Root Dir: /mnt/windows/docker/data\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nExperimental: false\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nLive Restore Enabled: false\r\n\r\n```\r\n```\r\n[luiz@X backend]$ ls -al /mnt/windows/docker/data\r\ntotal 16\r\ndrwxr-xr-x 1 luiz users 4096 Sep 19 19:59 .\r\ndrwxr-xr-x 1 luiz users    0 Sep 19 19:59 ..\r\ndrwxr-xr-x 1 luiz users    0 Sep 19 19:59 containers\r\ndrwxr-xr-x 1 luiz users    0 Sep 19 19:59 image\r\ndrwxr-xr-x 1 luiz users    0 Sep 19 19:59 network\r\ndrwxr-xr-x 1 luiz users 8192 Sep 19 20:56 overlay2\r\ndrwxr-xr-x 1 luiz users    0 Sep 19 19:59 plugins\r\ndrwxr-xr-x 1 luiz users    0 Sep 19 19:59 swarm\r\ndrwxr-xr-x 1 luiz users 4096 Sep 19 20:56 tmp\r\ndrwxr-xr-x 1 luiz users    0 Sep 19 19:59 trust\r\ndrwxr-xr-x 1 luiz users    0 Sep 19 19:59 volumes\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/moby/moby/issues/comments/330650991","html_url":"https://github.com/moby/moby/issues/34897#issuecomment-330650991","issue_url":"https://api.github.com/repos/moby/moby/issues/34897","id":330650991,"user":{"login":"nihiluis","id":24858082,"avatar_url":"https://avatars2.githubusercontent.com/u/24858082?v=4","gravatar_id":"","url":"https://api.github.com/users/nihiluis","html_url":"https://github.com/nihiluis","followers_url":"https://api.github.com/users/nihiluis/followers","following_url":"https://api.github.com/users/nihiluis/following{/other_user}","gists_url":"https://api.github.com/users/nihiluis/gists{/gist_id}","starred_url":"https://api.github.com/users/nihiluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nihiluis/subscriptions","organizations_url":"https://api.github.com/users/nihiluis/orgs","repos_url":"https://api.github.com/users/nihiluis/repos","events_url":"https://api.github.com/users/nihiluis/events{/privacy}","received_events_url":"https://api.github.com/users/nihiluis/received_events","type":"User","site_admin":false},"created_at":"2017-09-19T19:39:37Z","updated_at":"2017-09-19T19:39:37Z","author_association":"NONE","body":"Do you mean this?\r\n\r\n```\r\nFilesystem     1K-blocks      Used Available Use% Mounted on\r\n/dev/sda4      162815996 121260520  41555476  75% /mnt/windows\r\n```"}}
{"actor":{"display_login":"nihiluis"}}