I have a need to be able to mount a device on the bare metal root filesystem from inside a container. Or be able to run a command when a container exits.
Both bare metal OS and container are running Oracle Linux 7.x. Container can run in privileged mode and mount pretty much anything from the bare metal os.
We are using a container to provision storage on our storage nodes but need a way to mount some devices to the bare metal operating system from within a temporary container or after it exits somehow. (ie: if docker had some kind of exitpoint hook)
We do not want to do anything involving ssh for this. This is a totally isolated compute environment and the only entry/access point is the orchestration we use to run containers.
Thanks for any help.