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] - Add pull/build/remove_volume function for api/image.py as docker py #456

Open
D3vil0p3r opened this issue Oct 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@D3vil0p3r
Copy link

D3vil0p3r commented Oct 24, 2024

I'm reworking a tool using docker py in order to work with podman py. This tool has the following code section:

                    self.__client.api.pull(repository=ConstantConfig.IMAGE_NAME,
                                           tag=name,
                                           stream=True,
                                           decode=True,
                                           platform="linux/" + image.getArch()))

In docker-py, this pull function is defined here and it can be imported by APIClient lib.

podman-py has the same APIClient library but the related function that can do the same job of the docker one above seems to not be implemented. There is a similar one here.

Could you please implemennt a pull function in podman APIClient library that has also the decode argument?

Is it possible to implement api.build and api.remove_volume as well?

@D3vil0p3r D3vil0p3r changed the title [FEATURE] - Add pull function for api/image.py as docker py [FEATURE] - Add pull/build/remove_volume function for api/image.py as docker py Oct 24, 2024
@inknos inknos added the enhancement New feature or request label Oct 29, 2024
@D3vil0p3r
Copy link
Author

Hello @inknos any news on this request? We would like to have it in order to integrate Podman py to Exegol. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants