-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Use containers as non root users #94
Conversation
If you are sure you want to delete these then, run
To remove files owned by root remove |
These are all the dirs owned by root https://pastebin.com/g714SN3c Check which files are owned by root docker run -v .:/lila-docker -w /lila-docker alpine:latest sh -c "find /lila-docker -user root -prune" DONT RUN THIS IF YOU HAVE DOCKER DESKTOPTo remove all these files if you dont have sudo access you can run docker run -v .:/lila-docker -w /lila-docker alpine:latest sh -c "find /lila-docker -user root -prune -exec rm -rf {} \;" |
This comment has been minimized.
This comment has been minimized.
Everything should work now. Except search-ingestor image which will be fixed by #98. |
Fixes #92
Use containers as non root users, so that the files are owned by the current user not root users.
Maybe other containers like lila_ws, lila_search, etc also need to use this.
The current folders created as root users should be deleted first before running these.