osrf / rocker

A tool to run docker containers with overlays and convenient options for things like GUIs etc.
Apache License 2.0
559 stars 73 forks source link

Fix os detection for non-root images #149

Closed miguelprada closed 3 years ago

miguelprada commented 3 years ago

The detect_os executable has execution permission set for it's owner (i.e. root) only. When attempting to run an image that has a default non-root user, this causes a permission denied error in the entrypoint.

This simple fix should solve the issue.

miguelprada commented 3 years ago

Continues on #150.