Thanks Daniel. 

Will follow the steps you have suggested. 

Thanks


On Sun, Dec 4, 2022, 3:24 PM Daniel Walsh <dwalsh@redhat.com> wrote:
On 11/30/22 00:58, Lakshmi Mannuru wrote:
Updated subject.

On Tue, Nov 29, 2022, 11:57 PM Lakshmi Mannuru <lakshmi.mannuru17@gmail.com> wrote:
Hi Team,

I have a scenario where I need some help.

The application is having multiple containers running with podman run at start up.

When firmware update is triggered, some of the files running on x container, need to start tftp container. Can some suggest the steps to start and stop tftp container from x container when Firmware update is getting executed.

Thanks in advance for your help.

Thank you


_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io

You would need to leak into the monitoring container /run and the directory where the containers are stored.


$home/.local/containers and mount them on /run and $HOME/.local/containers at the same spot in a --privileged container, now podman inside of the container could restart the container.


Alternatively you could mount in $XDG_RUNTIME_DIR/podman/podman.spock into a container with selinux turned off (--security-opt label=disable) Then use podman --remote inside the container to restart the contaner on the host.

_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io