{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/eb-docker-virtual-hosting/issues/1","labels_url":"https://api.github.com/repos/awslabs/eb-docker-virtual-hosting/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/eb-docker-virtual-hosting/issues/1/comments","events_url":"https://api.github.com/repos/awslabs/eb-docker-virtual-hosting/issues/1/events","html_url":"https://github.com/awslabs/eb-docker-virtual-hosting/issues/1","id":71726847,"number":1,"title":"Running a Docker container with --privileged","user":{"login":"brspurri","id":881564,"avatar_url":"https://avatars.githubusercontent.com/u/881564?v=3","gravatar_id":"","url":"https://api.github.com/users/brspurri","html_url":"https://github.com/brspurri","followers_url":"https://api.github.com/users/brspurri/followers","following_url":"https://api.github.com/users/brspurri/following{/other_user}","gists_url":"https://api.github.com/users/brspurri/gists{/gist_id}","starred_url":"https://api.github.com/users/brspurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brspurri/subscriptions","organizations_url":"https://api.github.com/users/brspurri/orgs","repos_url":"https://api.github.com/users/brspurri/repos","events_url":"https://api.github.com/users/brspurri/events{/privacy}","received_events_url":"https://api.github.com/users/brspurri/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-28T22:41:30Z","updated_at":"2015-04-30T19:18:48Z","closed_at":"2015-04-30T19:18:48Z","body":"I am following this example to run two websites on the same Elastic Beanstalk instance from two different Docker containers - exactly as the example shows. However, in one of my Docker containers, I mount a cifs drive from another AWS Windows fileserver. This works great when I build the Docker locally and run it with the `--privileged` flag. Only I can't figure out if this is supported with Elastic Beanstalk.\r\n\r\n**I need to know if AWS supports running one of the dockers (or both) with `--privileged` permissions?**\r\n\r\nI have seen a hacky way to do it (which works great) for a single Docker container here (http://stackoverflow.com/questions/28267419/how-can-i-run-a-docker-container-in-aws-elastic-beanstalk-with-non-default-run-p), but this obviously doesn't apply to the multi-docker mode."},"comment":{"url":"https://api.github.com/repos/awslabs/eb-docker-virtual-hosting/issues/comments/97934504","html_url":"https://github.com/awslabs/eb-docker-virtual-hosting/issues/1#issuecomment-97934504","issue_url":"https://api.github.com/repos/awslabs/eb-docker-virtual-hosting/issues/1","id":97934504,"user":{"login":"abhiksingh","id":5313766,"avatar_url":"https://avatars.githubusercontent.com/u/5313766?v=3","gravatar_id":"","url":"https://api.github.com/users/abhiksingh","html_url":"https://github.com/abhiksingh","followers_url":"https://api.github.com/users/abhiksingh/followers","following_url":"https://api.github.com/users/abhiksingh/following{/other_user}","gists_url":"https://api.github.com/users/abhiksingh/gists{/gist_id}","starred_url":"https://api.github.com/users/abhiksingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhiksingh/subscriptions","organizations_url":"https://api.github.com/users/abhiksingh/orgs","repos_url":"https://api.github.com/users/abhiksingh/repos","events_url":"https://api.github.com/users/abhiksingh/events{/privacy}","received_events_url":"https://api.github.com/users/abhiksingh/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T19:18:48Z","updated_at":"2015-04-30T19:18:48Z","body":"Amazon ECS does not currently support Docker’s privileged mode today. Since the Elastic Beanstalk multi-container Docker platform relies on ECS to do the orchestration, there is currently no way to do this. We have submitted this feature request to the Amazon ECS team."}}