{"action":"opened","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/3294","repository_url":"https://api.github.com/repos/mitchellh/packer","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/3294/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/3294/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/3294/events","html_url":"https://github.com/mitchellh/packer/issues/3294","id":137743662,"number":3294,"title":"provisioners and lxc","user":{"login":"wilrnh","id":555966,"avatar_url":"https://avatars.githubusercontent.com/u/555966?v=3","gravatar_id":"","url":"https://api.github.com/users/wilrnh","html_url":"https://github.com/wilrnh","followers_url":"https://api.github.com/users/wilrnh/followers","following_url":"https://api.github.com/users/wilrnh/following{/other_user}","gists_url":"https://api.github.com/users/wilrnh/gists{/gist_id}","starred_url":"https://api.github.com/users/wilrnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilrnh/subscriptions","organizations_url":"https://api.github.com/users/wilrnh/orgs","repos_url":"https://api.github.com/users/wilrnh/repos","events_url":"https://api.github.com/users/wilrnh/events{/privacy}","received_events_url":"https://api.github.com/users/wilrnh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-02T01:27:27Z","updated_at":"2016-03-02T01:27:27Z","closed_at":null,"body":"Just found an issue with packer and LXC. Apparently, packer hangs when trying to provision (tested with shell provisioner) an LXC container. This happens on CircleCI since they use LXC: https://circleci.com/docs/docker#docker-exec.\r\n\r\nMy question: is there a way to get packer to use lxc-attach instead of docker exec to run the provisioner?\r\n\r\nThanks!"}}