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

Permission attached host directory #152

Open
kk2526 opened this issue Oct 19, 2018 · 1 comment
Open

Permission attached host directory #152

kk2526 opened this issue Oct 19, 2018 · 1 comment

Comments

@kk2526
Copy link

kk2526 commented Oct 19, 2018

Hi,

I am able to run rundeck having separate database and with attached volume using one of the host directory.
-v /some/direc:/etc/rundeck

But the permission now setup to the directory and all the files inside are of the rundeck user which is running the application. So how can I edit those files like 'realm.properties' assuming I dont have root access.

Thanks,

@jjethwa
Copy link
Owner

jjethwa commented Oct 20, 2018

Hi @kk2526 Usually you prepare those files ahead of time, but you can always modify them by docker exec'ing into your running container if you don't have permission on the host. You'll have to run apt-get update and install vi or your favourite editor as well. Hope that helps 😄

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