LicenseFinder icon indicating copy to clipboard operation
LicenseFinder copied to clipboard

Allow Docker image to be used with a non-root user

Open samherrmann opened this issue 4 years ago • 1 comments

For demonstration purposes, consider running the license_finder container as follows:

$ docker run -it --rm -v $(pwd):/scan --user $(id -u):$(id -g)  licensefinder/license_finder

Inside of the container....

$ /LicenseFinder/bin/license_finder
/usr/bin/env: ‘ruby’: Permission denied

It would be helpful if the image could be used with a non-root user.

samherrmann avatar Sep 29 '20 22:09 samherrmann

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

cf-gitbot avatar Sep 29 '20 22:09 cf-gitbot