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

Docker image: fix non-privileged user execution #405

Closed
caliuf opened this issue Aug 7, 2017 · 4 comments
Closed

Docker image: fix non-privileged user execution #405

caliuf opened this issue Aug 7, 2017 · 4 comments

Comments

@caliuf
Copy link
Contributor

caliuf commented Aug 7, 2017

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do?

I run bookkeeper using "--user $(id -u)" option in "docker run"

  • What did you expect to see?

Bookeeper process owned by the current user in the host system.

  • What did you see instead?

Process is owned by root

@caliuf
Copy link
Contributor Author

caliuf commented Aug 7, 2017

I've already fixed, but I can't assign this issue to me. I'll submit a PR asap.

/cc @jiazhai

caliuf added a commit to caliuf/bookkeeper that referenced this issue Aug 7, 2017
- Fix non-privileged user execution
- Change the Makefile in order to always use current user when run the
  bk image
- Fix Makefile in order to run "make run-demo"
- Adjust unneeded packages remove in Dockerfile
@caliuf
Copy link
Contributor Author

caliuf commented Aug 7, 2017

Created PR #406

@sijie
Copy link
Member

sijie commented Aug 7, 2017

@CaioK I assigned this to you.

(I think only committers can assign the issues. I need to figure out to how to make contributors able to self-assign issues)

@jiazhai
Copy link
Member

jiazhai commented Aug 8, 2017

Thanks a lot for the fix @CaioK , have already merged it.

@jiazhai jiazhai closed this as completed Aug 8, 2017
zymap added a commit to zymap/bookkeeper that referenced this issue Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants