[Podman] Re: exec - shell functions ?
by Valentin Rothberg
On Sun, Jun 18, 2023 at 10:59 AM lejeczek via Podman <podman(a)lists.podman.io>
wrote:
> Hi guys.
>
> How do you 'exec' your container shell functions without going into shell
> interactively?
>
You can run, for instance, `podman exec $container -s "$functions"`.
> many thanks, L.
> _______________________________________________
> Podman mailing list -- podman(a)lists.podman.io
> To unsubscribe send an email to podman-leave(a)lists.podman.io
>
2 years, 4 months
[Podman] Re: Generate quadlet unit files with podman
by Mehdi Haghgoo
Thanks Valentin,
Can we keep using podman generate systemd or that will be removed soon?
On Wed, Oct 11, 2023 at 18:56, Valentin Rothberg<vrothberg(a)redhat.com> wrote: _______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io
2 years
[Podman] Re: Container health check from another container
by Valentin Rothberg
Thanks for reaching out, Michael.
On Tue, Nov 21, 2023 at 9:45 AM Михаил Иванов <ivans(a)isle.spb.ru> wrote:
> Hi, is it possible to run health check on a container from another container in same pod?
>
>
The answer is probably no, but I want to make sure to understand your use
case. Can you elaborate on it in more detail?
> --
>
> Michael Ivanov
>
> _______________________________________________
> Podman mailing list -- podman(a)lists.podman.io
> To unsubscribe send an email to podman-leave(a)lists.podman.io
>
1 year, 11 months
[Podman] Re: Container health check from another container
by Александр Илюшкин
For example, you can define a custom /health API for this.
In this API you can call and process health results from another hosts you
are integrating with.
С уважением, А. И.
вт, 21 нояб. 2023 г., 11:45 Михаил Иванов <ivans(a)isle.spb.ru>:
> Hi, is it possible to run health check on a container from another container in same pod?
>
> --
>
> Michael Ivanov
>
> _______________________________________________
> Podman mailing list -- podman(a)lists.podman.io
> To unsubscribe send an email to podman-leave(a)lists.podman.io
>
1 year, 11 months
[Podman] Re: Reliable service starts
by Valentin Rothberg
On Fri, Feb 3, 2023 at 11:03 AM Mark Raynsford <list+podman.io(a)io7m.com>
wrote:
> On 2023-02-03T09:19:44 +0100
> Valentin Rothberg <vrothberg(a)redhat.com> wrote:
>
> > Hi Mark,
> >
> > Thanks for reaching out.
> >
> > I suggest using `podman generate systemd` to generate a systemd unit.
> > There's also a new way of running Podman inside of systemd called Quadlet
> > that ships with the just released Podman v4.4. A blog about that topic
> is
> > in the pipeline.
> >
> > Given the complexity of running Podman in systemd, `podman generate
> > systemd` and Quadlet are the only supported ways.
> >
> > In your case, I suggest removing `podman pull` from the service. In
> > contrast to `podman pull`, `podman run` won't redundantly pull the image
> if
> > it's already in the local storage. That will relax the network
> bottleneck.
>
> Thanks, I'll look into this. The systemd unit shown in my example is
> actually already generated from a template (which is then included as
> part of the CoreOS ignition file). I assume I won't have to run
> "podman generate systemd" on the target machine? Can I run that on my
> local development machine and then upload the results to the machine
> that will actually run the service?
>
Yes, that will work. Make sure to use the --new flag to generate a unit
that can run on any system. Feel free to reach out if you further
questions.
Kind regards,
Valentin
> --
> Mark Raynsford | https://www.io7m.com
>
>
2 years, 9 months
[Podman] Re: Generate quadlet unit files with podman
by Valentin Rothberg
Thanks for reaching out, Mehdi.
Please refer to the upstream discussion:
https://github.com/containers/podman/discussions/20218#discussioncomment-...
On Wed, Oct 11, 2023 at 5:20 PM Mehdi Haghgoo via Podman <
podman(a)lists.podman.io> wrote:
> What I have learned from docs so far is that podman cannot generate
> quadlet unit files, and those need to be written manually. Isn't this
> inconvenient?
> I prefer the former " generate aystemd" but it's deprecated.
>
> Am I wrong?
> _______________________________________________
> Podman mailing list -- podman(a)lists.podman.io
> To unsubscribe send an email to podman-leave(a)lists.podman.io
>
2 years