Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runing in container #3

Closed
haos616 opened this issue Feb 8, 2017 · 3 comments
Closed

Runing in container #3

haos616 opened this issue Feb 8, 2017 · 3 comments

Comments

@haos616
Copy link

haos616 commented Feb 8, 2017

Is it possible to run it in a container?

@dmgtn
Copy link
Member

dmgtn commented Feb 8, 2017

Hypothetically — yes, but it should be, at least, privileged container. And no one tried this, of course.

@haos616
Copy link
Author

haos616 commented Feb 8, 2017

@distol It works!
Need use --pid='host' --privileged -v '/var/run/docker.sock:/var/run/docker.sock'

@dmgtn
Copy link
Member

dmgtn commented Feb 8, 2017

Cool! @distorhead gave me the hint that we already run tests same way: https://github.com/flant/pam_docker/blob/master/Buildizer#L77.

@dmgtn dmgtn closed this as completed Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants