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

Need a way to specify UID that owns a volume #8

Open
marsbard opened this issue May 31, 2016 · 1 comment
Open

Need a way to specify UID that owns a volume #8

marsbard opened this issue May 31, 2016 · 1 comment

Comments

@marsbard
Copy link
Owner

Sometimes you need a certain UID to own a volume, for example jenkins will not start unless you do this first:
$ sudo chown -R 1000 /var/lib/grua/volumes/artif/jenkins/home/

So we could have something like - if volumes arg prefixed by uid, chown before running...:

  volumes:
    - 1000:home:/var/jenkins_home
@marsbard
Copy link
Owner Author

Or maybe if there are 3 args split by ":"?

Or perhaps use a different separator?

  ...
  volumes
    - 1000|home:/var/jenkins_home
    - martian|foo:/var/foo

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

1 participant