You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/explanations/rootless.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ At present epics-containers requires slightly different configuration for docker
25
25
- Permissions on the files inside the developer container need to be set with *sudo chown* at startup
26
26
- Developer containers will sometimes have issues with git repo permissions
27
27
- 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)
28
29
29
30
## Proposed solution
30
31
@@ -36,6 +37,8 @@ This would therefore be accetable if it is easy to switch between rootfull and r
36
37
37
38
## Configure Docker with rootless/rootfull operation
38
39
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
+
39
42
These instructions worked for me on Ubuntu 24.04. Assume docker default install is already done and is at version 27.2.0.
40
43
41
44
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