this post was submitted on 14 Aug 2023
18 points (95.0% liked)
Docker
1128 readers
1 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If the value is still passed as an environment variable in the end, it can be read via
/proc/:pid/environ
from another container or from the host if they are both using the same UID (or has--cap-add SYS_PTRACE
)Oh, didn't think about that. Well, at least it works.