{"action":"created","issue":{"url":"https://api.github.com/repos/kata-containers/runtime/issues/853","repository_url":"https://api.github.com/repos/kata-containers/runtime","labels_url":"https://api.github.com/repos/kata-containers/runtime/issues/853/labels{/name}","comments_url":"https://api.github.com/repos/kata-containers/runtime/issues/853/comments","events_url":"https://api.github.com/repos/kata-containers/runtime/issues/853/events","html_url":"https://github.com/kata-containers/runtime/issues/853","id":373384081,"node_id":"MDU6SXNzdWUzNzMzODQwODE=","number":853,"title":"add macvlan error --  kata-runtime 1.3.1","user":{"login":"coos","id":3425198,"node_id":"MDQ6VXNlcjM0MjUxOTg=","avatar_url":"https://avatars3.githubusercontent.com/u/3425198?v=4","gravatar_id":"","url":"https://api.github.com/users/coos","html_url":"https://github.com/coos","followers_url":"https://api.github.com/users/coos/followers","following_url":"https://api.github.com/users/coos/following{/other_user}","gists_url":"https://api.github.com/users/coos/gists{/gist_id}","starred_url":"https://api.github.com/users/coos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coos/subscriptions","organizations_url":"https://api.github.com/users/coos/orgs","repos_url":"https://api.github.com/users/coos/repos","events_url":"https://api.github.com/users/coos/events{/privacy}","received_events_url":"https://api.github.com/users/coos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-24T09:17:57Z","updated_at":"2018-11-01T19:54:14Z","closed_at":null,"author_association":"NONE","body":"1、add some json in  /etc/docker/daemon.json：\r\n```json\r\n\"runtimes\": {\r\n        \"kata-runtime\": {\r\n            \"path\": \"/opt/kata/bin/kata-runtime\"\r\n        }\r\n    }\r\n```\r\n2、run containers：\r\n```bash\r\nroot# /opt/kata/bin/kata-runtime --version\r\nkata-runtime  : 1.3.1\r\n   commit   : 258eae021387b7fffee48a120e6b5afdd7c78a00\r\n   OCI specs: 1.0.1\r\n\r\n\r\nroot# docker network create -d macvlan --subnet=172.17.8.0/24 --gateway=172.17.8.254 -o parent=bond0.1008 vlan1008\r\n\r\nroot# docker run -d --net vlan1008 --ip 172.17.8.100 --runtime kata-runtime --storage-opt size=150G -m 4g --cpus=4 xxxxx/c7-systemd-kata\r\n\r\n3416f232cf26aed4906644da0a3bb9afb054338aa64a3a844fd8f141fd08077d\r\ndocker: Error response from daemon: OCI runtime create failed: Could not get veth interface: eth0: Incorrect link type macvlan, expecting veth: unknown.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kata-containers/runtime/issues/comments/435165584","html_url":"https://github.com/kata-containers/runtime/issues/853#issuecomment-435165584","issue_url":"https://api.github.com/repos/kata-containers/runtime/issues/853","id":435165584,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTE2NTU4NA==","user":{"login":"egernst","id":20174683,"node_id":"MDQ6VXNlcjIwMTc0Njgz","avatar_url":"https://avatars1.githubusercontent.com/u/20174683?v=4","gravatar_id":"","url":"https://api.github.com/users/egernst","html_url":"https://github.com/egernst","followers_url":"https://api.github.com/users/egernst/followers","following_url":"https://api.github.com/users/egernst/following{/other_user}","gists_url":"https://api.github.com/users/egernst/gists{/gist_id}","starred_url":"https://api.github.com/users/egernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egernst/subscriptions","organizations_url":"https://api.github.com/users/egernst/orgs","repos_url":"https://api.github.com/users/egernst/repos","events_url":"https://api.github.com/users/egernst/events{/privacy}","received_events_url":"https://api.github.com/users/egernst/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T19:54:14Z","updated_at":"2018-11-01T19:54:14Z","author_association":"CONTRIBUTOR","body":"This should probably *just* be in 1.4, once it comes, since it is a feature more than a bug fix."}}
{"actor":{"display_login":"egernst"}}