Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Run as non-root by default #1

Closed
md5 opened this issue Feb 9, 2015 · 0 comments · Fixed by #4
Closed

Run as non-root by default #1

md5 opened this issue Feb 9, 2015 · 0 comments · Fixed by #4

Comments

@md5
Copy link
Member

md5 commented Feb 9, 2015

Like most of the Docker official images, this image is currently configured to run as root. I'm opening this issue as a place to discuss what change should be made, if any. See this discussion in the context of the tomcat image for the sort of issues that can be anticipated for jetty.

I can see a few changes/enhancements being made to this image:

  1. Add code to the Dockerfile to create a consistent jetty user to allow users to easily do USER jetty in a derived Dockerfile or -u jetty in their docker run command.
  2. Document the use of JETTY_BASE for the jetty:9 image and give an example that uses --module setuid to drop privileges to the jetty user after starting as root.
@md5 md5 changed the title Provide instructions for running as non-root Run as non-root by default Feb 25, 2015
@md5 md5 closed this as completed in #4 Feb 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant