-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
How to run containers in privileged mode #123
Comments
I changed this line to make it say |
This is all in Thanks for your help! |
I'd love to send a PR for this, but I'm not up to speed with Python and currently stuck trying to run my fork like this: $ python fig/cli/main.py
Traceback (most recent call last):
File "fig/cli/main.py", line 10, in <module>
from .. import __version__
ValueError: Attempted relative import in non-package I'm obviously doin' it very wrong - but I can't find any Getting Started docs for developers. If they exist can you point me to those? Or otherwise some brief instructions how to set up a local development environment, then I'll be happy to write up a markdown/blogpost so other newcommers can easily dive into development too. |
Best way to start is to clone the repo and run Docs very welcome! Thanks for your help! |
Created a PR this issue #132. If I have time I'll write up some docs for newcomers to python/fig wanting to help out and create a separate PR for that. |
Thanks @kvz! |
Not sure what I am doing wrong.
|
Add support for privileged containers #123
Hi! As I'm having exactly the same problem, are there any news about when this PR will be merged :) ? Thanks! |
This was merged already. To enable on your containers use: my_service:
privileged: true |
I am using fig 1.0.1 If I try to set privileged to In other words:
|
Add a contributing page. Refs docker#123 Signed-off-by: Yuval Kohavi <[email protected]>
This is required for mounting external volumes and addresses errors such as `mount.nfs: Operation not permitted` Be gentle, I don't normally use Python :) Signed-off-by: Yuval Kohavi <[email protected]>
Add support for privileged containers docker#123 Signed-off-by: Yuval Kohavi <[email protected]>
I'm facing the same issue as @bitliner
The error:
docker-compose.yml: frontend:
privileged: true
build: ./frontend/
ports:
- "4200:4200"
volumes:
- ./frontend:/usr/src/app |
|
Add oom support to events
I am experiencing similar issue with |
@tenager same for me. |
@tenager It might depend by your |
The following link provides the container with sufficient permissions (i.e. root) to run CFS: - docker/compose#123 This is the fix to resolve the following issues: - "Call to CFE_SB_CreatePipe Failed" - "Your queue depth may be too large for the OS to handle..."
Yep this ended up being the solution. Had to call from within the container and not the Dockerfile |
From my docker container I would like to mount a network share. I've tried samba, afs, and nfs, but I keep getting Operation not permitted.
Googling has led me to believe that my container would need to run in
privileged
mode (http://www.gluster.org/2014/02/running-glusterfs-inside-docker-container/)With Docker one can do
--privileged=true
but I don't think I can pass this along from myfig.yml
via a:As that throws a
Unsupported config option for sabnzbd service: 'privileged'
. It also isn't documented in the fig documentation. Any way to go around this? I would be happy with any solution that allows me to mount a network drive, right now I just think that requires priviledged but I might be wrong.Might be worth mentioning that I'm using the 0.8.0 boot2docker osx install.
The text was updated successfully, but these errors were encountered: