Skip to content
Commit fcfe862a authored by Jackson Cooper-Driver's avatar Jackson Cooper-Driver
Browse files

docker: Support running in Rootless Docker mode



We require support for Rootless Docker (a different method of running
docker which does not require any root privileges). For rootless docker,
all bind mounts are done in root mode which gives access errors when
attempting to run docker with the user being the non-root user.

The recommended method to get around this issue is to run docker without
passing the --user flag and therefore be the root user in the container.
Note that rootless docker will ensure that all created files have user
permissions instead of root.

We need to override the entrypoint in this case, as the default
entrypoint checks the user and prevents running as root.

Signed-off-by: Jackson Cooper-Driver's avatarJackson Cooper-Driver <jackson.cooper-driver@arm.com>
parent 4221ba74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment