Skip to content

Commit 43455d1

Browse files
committed
add UIDGID comment
1 parent 5c6bdd6 commit 43455d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/explanations/rootless.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ At present epics-containers requires slightly different configuration for docker
2525
- Permissions on the files inside the developer container need to be set with *sudo chown* at startup
2626
- Developer containers will sometimes have issues with git repo permissions
2727
- docker compose deployed IOCs do run as root and write any generated files as root in host mounted folders (this needs fixing)
28+
- UIDGID is required to be passed to the compose file for phoebus to make sure it runs as the correct user (but would not be needed at all for rootless)
2829

2930
## Proposed solution
3031

@@ -36,6 +37,8 @@ This would therefore be accetable if it is easy to switch between rootfull and r
3637

3738
## Configure Docker with rootless/rootfull operation
3839

40+
Note that some fixes to epics-containers 'Current Situtation' are required if you switch to rootless operation - we can remove some of the config requirements.
41+
3942
These instructions worked for me on Ubuntu 24.04. Assume docker default install is already done and is at version 27.2.0.
4043

4144
1. docker install comes with a script to set up rootless operation. We use --force to tell it to run even though rootfull is already set up.

0 commit comments

Comments
 (0)