Open gilesknap opened 1 month ago
Also see easier switch between modes https://docs.docker.com/engine/security/rootless/#:~:text=docker%20context%20use%20rootless
I've tested rootless docker and --network host. It looks like it does not behave like podman and the PVs are not exposed to the host (although they are exposed to phoebus running in a container with network host).
Demo here https://github.com/epics-containers/example-services/tree/network-host-rootless
For simplicity in that case I think we stick with rootfull dcoker for now - we already have that working and it seems that more thought would be needed to use epics-containers in production without kubernetes. It's probably resolvable - but I don't actually have any customers for non-K8S yet, so will leave it for now.
Consider mandating rootless docker for epics-containers. As per https://epics-containers.github.io/main/explanations/rootless.html