{"action":"created","issue":{"url":"https://api.github.com/repos/clearcontainers/runtime/issues/328","repository_url":"https://api.github.com/repos/clearcontainers/runtime","labels_url":"https://api.github.com/repos/clearcontainers/runtime/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/clearcontainers/runtime/issues/328/comments","events_url":"https://api.github.com/repos/clearcontainers/runtime/issues/328/events","html_url":"https://github.com/clearcontainers/runtime/issues/328","id":243455552,"number":328,"title":"running a container in detach mode is being stopped","user":{"login":"GabyCT","id":20359065,"avatar_url":"https://avatars1.githubusercontent.com/u/20359065?v=4","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-17T16:39:05Z","updated_at":"2017-07-17T16:58:08Z","closed_at":null,"body":"While running a container in detach mode, the container gets stopped\r\n\r\n Running in detach mode\r\ncc-runtime run -d --bundle /home/cloud/rootfs --console /dev/ptmx containerone\r\n\r\n Check container state\r\n cc-runtime state containerone\r\n{\"ociVersion\":\"1.0.0-rc5\",\"id\":\"containerone\",\"status\":\"stopped\",\"pid\":23049,\"bundle\":\"/home/cloud/rootfs\",\"annotations\":{\"com.github.containers.virtcontainers.pkg.oci.bundle_path\":\"/home/coud/rootfs\",\"com.github.containers.virtcontainers.pkg.oci.config_path\":\"/home/cloud/rootfs/config.json\",\"com.github.containers.virtcontainers.pkg.oci.container_type\":\"pod_sandbox\"}}\r\nCheck again container status with list command\r\n\r\ncc-runtime list\r\nID                     PID         STATUS      BUNDLE                 CREATED                          OWNER\r\ncontainerone           23101       stopped     /home/cloud/rootfs     2017-07-17T08:14:51.724016463Z\r\n\r\nThis is with version\r\ncc-runtime  : 3.0.0-alpha.3\r\n OCI specs: 1.0.0-rc5\r\n\r\nOn ubuntu 16.10\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/clearcontainers/runtime/issues/comments/315814491","html_url":"https://github.com/clearcontainers/runtime/issues/328#issuecomment-315814491","issue_url":"https://api.github.com/repos/clearcontainers/runtime/issues/328","id":315814491,"user":{"login":"sboeuf","id":22890413,"avatar_url":"https://avatars3.githubusercontent.com/u/22890413?v=4","gravatar_id":"","url":"https://api.github.com/users/sboeuf","html_url":"https://github.com/sboeuf","followers_url":"https://api.github.com/users/sboeuf/followers","following_url":"https://api.github.com/users/sboeuf/following{/other_user}","gists_url":"https://api.github.com/users/sboeuf/gists{/gist_id}","starred_url":"https://api.github.com/users/sboeuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboeuf/subscriptions","organizations_url":"https://api.github.com/users/sboeuf/orgs","repos_url":"https://api.github.com/users/sboeuf/repos","events_url":"https://api.github.com/users/sboeuf/events{/privacy}","received_events_url":"https://api.github.com/users/sboeuf/received_events","type":"User","site_admin":false},"created_at":"2017-07-17T16:58:08Z","updated_at":"2017-07-17T16:58:08Z","body":"@GabyCT Please remove the --console /dev/ptmx and this should work."}}
{"actor":{"display_login":"sboeuf"}}