Replies: 4 comments 15 replies
-
You can directly call into the Libpod API (https://godoc.org/github.com/containers/podman/libpod) but it does not have the degree of documentation (or the stability guarantee) of the HTTP API. |
Beta Was this translation helpful? Give feedback.
-
@mheon longer term, do we need to create a high level api for this kind of use case? I know we talked about it. |
Beta Was this translation helpful? Give feedback.
-
imho, blogs are always welcome! |
Beta Was this translation helpful? Give feedback.
-
I just stumbled across this discussion because I searched for a daemonless API for podman, seems there is not going to be an alternative to the go bindings but is that really required ? Couldn't we just implement a simple cli wrapper for podman which uses |
Beta Was this translation helpful? Give feedback.
-
I found API use cases for Golang https://github.com/containers/Demos/blob/master/podman_go_bindings/main.go
I'm a little curious.
podman
don't a daemon process, but why connect socket?Is there a simple API for
pull image
/create container
/run container
without connecting to the socket?eg.
another words:
Is there be an independent API to create containers and run easily, and does not need to install podman
I'm trying to create an isolated test environment based on podman, if this can be achieved, that would be great.
thank you all for help.
Beta Was this translation helpful? Give feedback.
All reactions