On Mon, Nov 22, 2021 at 3:12 AM Valentin Rothberg <rothberg(a)redhat.com>
wrote:
 Hi Niranjan,
 Thanks for reaching out.
 On Mon, Nov 22, 2021 at 8:11 AM <niranjan(a)ashoo.in> wrote:
> Hi all
>
> I am looking for some code examples in Golang to use Podman REST API. Is
> there a repository or some code examples that i can refer to?
>
> Also while looking at the Podman REST API. (
> 
https://docs.podman.io/en/latest/_static/api.html). how do i call the
> "podman run" using the REST API ?
>
 A container run boils down to create+start.  Some examples can be found in
 how the remote client of Podman is using the Go-bindings for the REST API,
 for example:
https://github.com/containers/podman/blob/main/pkg/domain/infra/tunnel/co...
 The bindings live in pkg/bindings/{containers,images,...}.
 Kind regards,
  Valentin
> Regards
> Niranjan.
> _______________________________________________
> Podman mailing list -- podman(a)lists.podman.io
> To unsubscribe send an email to podman-leave(a)lists.podman.io
>
 _______________________________________________
 Podman mailing list -- podman(a)lists.podman.io
 To unsubscribe send an email to podman-leave(a)lists.podman.io