{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/22746","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/22746/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/22746/comments","events_url":"https://api.github.com/repos/docker/docker/issues/22746/events","html_url":"https://github.com/docker/docker/issues/22746","id":154902200,"number":22746,"title":"oci runtime error: exec failed: fork/exec /proc/self/exe: no such file or directory","user":{"login":"vitia","id":1268896,"avatar_url":"https://avatars.githubusercontent.com/u/1268896?v=3","gravatar_id":"","url":"https://api.github.com/users/vitia","html_url":"https://github.com/vitia","followers_url":"https://api.github.com/users/vitia/followers","following_url":"https://api.github.com/users/vitia/following{/other_user}","gists_url":"https://api.github.com/users/vitia/gists{/gist_id}","starred_url":"https://api.github.com/users/vitia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitia/subscriptions","organizations_url":"https://api.github.com/users/vitia/orgs","repos_url":"https://api.github.com/users/vitia/repos","events_url":"https://api.github.com/users/vitia/events{/privacy}","received_events_url":"https://api.github.com/users/vitia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/runtime","name":"area/runtime","color":"e11d21"},{"url":"https://api.github.com/repos/docker/docker/labels/area/storage/devicemapper","name":"area/storage/devicemapper","color":"FBCA04"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94"},{"url":"https://api.github.com/repos/docker/docker/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/docker/docker/labels/version/1.11","name":"version/1.11","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/55","html_url":"https://github.com/docker/docker/milestones/1.11.2","labels_url":"https://api.github.com/repos/docker/docker/milestones/55/labels","id":1725317,"number":55,"title":"1.11.2","description":"","creator":{"login":"mlaventure","id":16065150,"avatar_url":"https://avatars.githubusercontent.com/u/16065150?v=3","gravatar_id":"","url":"https://api.github.com/users/mlaventure","html_url":"https://github.com/mlaventure","followers_url":"https://api.github.com/users/mlaventure/followers","following_url":"https://api.github.com/users/mlaventure/following{/other_user}","gists_url":"https://api.github.com/users/mlaventure/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaventure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaventure/subscriptions","organizations_url":"https://api.github.com/users/mlaventure/orgs","repos_url":"https://api.github.com/users/mlaventure/repos","events_url":"https://api.github.com/users/mlaventure/events{/privacy}","received_events_url":"https://api.github.com/users/mlaventure/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":32,"state":"closed","created_at":"2016-04-22T14:38:27Z","updated_at":"2016-06-03T03:02:20Z","due_on":"2016-06-01T07:00:00Z","closed_at":"2016-06-03T03:02:20Z"},"comments":13,"created_at":"2016-05-15T10:49:27Z","updated_at":"2016-06-08T10:54:28Z","closed_at":"2016-05-17T17:42:11Z","body":"**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:        Wed Apr 27 00:34:42 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:        Wed Apr 27 00:34:42 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: 9\r\n Running: 7\r\n Paused: 0\r\n Stopped: 2\r\nImages: 146\r\nServer Version: 1.11.1\r\nStorage Driver: devicemapper\r\n Pool Name: docker-253:2-814311901-pool\r\n Pool Blocksize: 65.54 kB\r\n Base Device Size: 107.4 GB\r\n Backing Filesystem: xfs\r\n Data file: /dev/loop0\r\n Metadata file: /dev/loop1\r\n Data Space Used: 62.84 GB\r\n Data Space Total: 107.4 GB\r\n Data Space Available: 44.53 GB\r\n Metadata Space Used: 32.6 MB\r\n Metadata Space Total: 2.147 GB\r\n Metadata Space Available: 2.115 GB\r\n Udev Sync Supported: true\r\n Deferred Removal Enabled: false\r\n Deferred Deletion Enabled: false\r\n Deferred Deleted Device Count: 0\r\n Data loop file: /home/docker/devicemapper/devicemapper/data\r\n WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.\r\n Metadata loop file: /home/docker/devicemapper/devicemapper/metadata\r\n Library Version: 1.02.107-RHEL7 (2015-12-01)\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.10.0-327.10.1.el7.x86_64\r\nOperating System: CentOS Linux 7 (Core)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 8\r\nTotal Memory: 11.58 GiB\r\nName: docker1\r\nID: D7L5:RJ5K:CG6A:UCPB:CHOR:ND5B:GRXU:IE7L:CFMZ:ABYW:6PFK:LICR\r\nDocker Root Dir: /home/docker\r\nDebug mode (client): false\r\nDebug mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: bridge-nf-call-iptables is disabled\r\nWARNING: bridge-nf-call-ip6tables is disabled\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\n**Steps to reproduce the issue:**\r\n\r\n```\r\n#!/bin/bash -x\r\ntrap 'docker rmi oci_error ||:; docker rm -f oci_error ||:' EXIT\r\ncontainer_id=`docker run -d -v /tmp:/workspace --name oci_error centos:6 tail -f /dev/null`\r\ndocker exec --interactive=false $container_id date -u\r\nimage_id=`docker commit --pause=true $container_id oci_error`\r\ndocker exec --interactive=false $container_id date -u\r\n```\r\n\r\n**Describe the results you received:**\r\n\r\n```\r\n[root@docker1 ~]# ./oci_error.sh\r\n+ trap 'docker rmi oci_error ||:; docker rm -f oci_error ||:' EXIT\r\n++ docker run -d -v /tmp:/workspace --name oci_error centos:6 tail -f /dev/null\r\n+ container_id=1a212e3fb4aa9a2d55260d404a639957d7126a8722a1b767ca8909ab839e590a\r\n+ docker exec --interactive=false 1a212e3fb4aa9a2d55260d404a639957d7126a8722a1b767ca8909ab839e590a date -u\r\nSun May 15 10:41:11 UTC 2016\r\n++ docker commit --pause=true 1a212e3fb4aa9a2d55260d404a639957d7126a8722a1b767ca8909ab839e590a oci_error\r\n+ image_id=sha256:ae6002376259044f68f1b9e1826523aa7de5ee1499c5d8c7643e16f85be88a59\r\n+ docker exec --interactive=false 1a212e3fb4aa9a2d55260d404a639957d7126a8722a1b767ca8909ab839e590a date -u\r\nrpc error: code = 2 desc = \"oci runtime error: exec failed: fork/exec /proc/self/exe: no such file or directory\"+ docker rmi oci_error\r\nUntagged: oci_error:latest\r\nDeleted: sha256:ae6002376259044f68f1b9e1826523aa7de5ee1499c5d8c7643e16f85be88a59\r\nDeleted: sha256:46674d91278a2c66c7bdd9c0dd7d7a860657f0f1eddb1f7c7e43b7a792ea434b\r\n+ docker rm -f oci_error\r\noci_error\r\n```\r\n\r\n**Describe the results you expected:**\r\n\r\nCommit should not brake container.\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n\r\nThe issue is persistent.\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/224555614","html_url":"https://github.com/docker/docker/issues/22746#issuecomment-224555614","issue_url":"https://api.github.com/repos/docker/docker/issues/22746","id":224555614,"user":{"login":"espritengineer","id":14829241,"avatar_url":"https://avatars.githubusercontent.com/u/14829241?v=3","gravatar_id":"","url":"https://api.github.com/users/espritengineer","html_url":"https://github.com/espritengineer","followers_url":"https://api.github.com/users/espritengineer/followers","following_url":"https://api.github.com/users/espritengineer/following{/other_user}","gists_url":"https://api.github.com/users/espritengineer/gists{/gist_id}","starred_url":"https://api.github.com/users/espritengineer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/espritengineer/subscriptions","organizations_url":"https://api.github.com/users/espritengineer/orgs","repos_url":"https://api.github.com/users/espritengineer/repos","events_url":"https://api.github.com/users/espritengineer/events{/privacy}","received_events_url":"https://api.github.com/users/espritengineer/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T10:54:28Z","updated_at":"2016-06-08T10:54:28Z","body":"Hello, the issue is appearing also when executing docker exec command on a running container: \r\n\r\n**output of `docker version` :** \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:        Wed Apr 27 00:34:42 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:        Wed Apr 27 00:34:42 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n \r\n **output of `docker info`** :\r\n \r\n```\r\n Containers: 8\r\n Running: 8\r\n Paused: 0\r\n Stopped: 0\r\nImages: 96\r\nServer Version: 1.11.1\r\nStorage Driver: devicemapper\r\n Pool Name: docker-202:2-197453-pool\r\n Pool Blocksize: 65.54 kB\r\n Base Device Size: 10.74 GB\r\n Backing Filesystem: xfs\r\n Data file: /dev/loop0\r\n Metadata file: /dev/loop1\r\n Data Space Used: 3.105 GB\r\n Data Space Total: 107.4 GB\r\n Data Space Available: 18.02 GB\r\n Metadata Space Used: 6.382 MB\r\n Metadata Space Total: 2.147 GB\r\n Metadata Space Available: 2.141 GB\r\n Udev Sync Supported: true\r\n Deferred Removal Enabled: false\r\n Deferred Deletion Enabled: false\r\n Deferred Deleted Device Count: 0\r\n Data loop file: /var/lib/docker/devicemapper/devicemapper/data\r\n WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.\r\n Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata\r\n Library Version: 1.02.107-RHEL7 (2015-12-01)\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: null host bridge\r\nKernel Version: 3.10.0-327.18.2.el7.x86_64\r\nOperating System: CentOS Linux 7 (Core)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 11.33 GiB\r\nName: solutions\r\nID: IEKO:LOZU:BKUP:XPE4:KJ5C:TSNY:53HK:C5DA:5G57:TDOQ:P44W:HPFK\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\nWARNING: bridge-nf-call-iptables is disabled\r\nWARNING: bridge-nf-call-ip6tables is disabled\r\n```\r\n\r\n**Steps to reproduce the issue:**\r\n\r\ndocker exec -it mysql\r\n\r\n**Describe the results you received:**\r\nrpc error: code = 2 desc = \"oci runtime error: exec failed: fork/exec /proc/self/exe: no such file or directory\"\r\n\r\n**Describe the results you expected:**\r\nDocker lets me enter bash mode to execute some commands on my container\r\n\r\nThe only workaround I got working is that I have to restart the container and then docker exec can be available."}}
{"actor":{"display_login":"espritengineer"}}