Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Podman 3.0+ API support #76

Open
madrisan opened this issue Apr 16, 2021 · 1 comment · Fixed by #148
Open

[Feature Request] Podman 3.0+ API support #76

madrisan opened this issue Apr 16, 2021 · 1 comment · Fixed by #148
Assignees

Comments

@madrisan
Copy link
Owner

🚀 Feature Request

Is your feature request related to a problem? Please describe.

Switch to the new Podman 3.0 API (varlink support has been deprecated in Podman 2 and removed in version 3):
http://docs.podman.io/en/latest/_static/api.html#tag/containers

@madrisan madrisan self-assigned this Apr 16, 2021
@madrisan
Copy link
Owner Author

madrisan commented Apr 16, 2021

How to test

Create the podman.socket

systemctl --user start podman.socket
systemctl --user enable podman.socket

Create a container for test

podman run --rm -it docker.io/nginx:1.21.5-alpine

Test API

curl --unix-socket /run/user/1000/podman/podman.sock http://d/v3.0.0/libpod/info | jq
curl --unix-socket /run/user/1000/podman/podman.sock -v 'http://d/v3.0.0/libpod/images/json' | jq
curl --unix-socket /run/user/1000/podman/podman.sock http://v1.18/containers/ecstatic_agnesi/stats
curl --unix-socket /run/docker.sock http://v1.18/containers/docker-compose-traefik-1/stats

Podman API Reference: https://docs.podman.io/en/latest/Reference.html

@madrisan madrisan linked a pull request Jan 1, 2022 that will close this issue
@madrisan madrisan changed the title [Feature Request] Podman 3.0 API support [Feature Request] Podman 3.0+ API support Jul 27, 2022
@madrisan madrisan linked a pull request Apr 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant