[ 
https://issues.apache.org/jira/browse/BIGTOP-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128193#comment-14128193
 ] 

Evans Ye commented on BIGTOP-1417:
----------------------------------

Hi [~jayunit100],
I think that's not related to privileged parameter but more related to docker 
daemon. I can't create container without root
{code}
[vagrant@localhost docker-puppet]$ docker run -ti bigtop/seed:centos-6.4 
/bin/bash
2014/09/09 15:30:15 Post http:///var/run/docker.sock/v1.13/containers/create: 
dial unix /var/run/docker.sock: permission denied
{code}
Unless I add the user to docker group
{code}
[vagrant@localhost ~]$ groups
vagrant wheel docker
[vagrant@localhost ~]$ docker run -ti --rm bigtop/seed:centos-6.4 /bin/bash
bash-4.1#
{code}

The next iteration of docker itself will be improved which allows to run 
containers without root privileges.

And for the patch, I've uploaded version 3 which fix a bug that is can not ssh 
in to containers  except bigtop1, for example, you can't do {{vagrant ssh 
bigtop2}}.
Also I've update the README with sudo added and limit the usage on linux host 
in this current version.

> Dockerize the puppetized vagrant deployer
> -----------------------------------------
>
>                 Key: BIGTOP-1417
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1417
>             Project: Bigtop
>          Issue Type: New Feature
>          Components: deployment
>    Affects Versions: 0.7.0
>            Reporter: Evans Ye
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: BIGTOP-1417.1.patch, BIGTOP-1417.2.patch, 
> BIGTOP-1417.3.patch
>
>
> This is one of the bigtop's dockerize task which mainly focus on deploying 
> bigtop hadoop cluster using 
> [bigtop-puppet|https://github.com/apache/bigtop/tree/master/bigtop-deploy/puppet]
>  on top of docker containers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to