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

Remove support for podman #422

Closed
thomaseizinger opened this issue Oct 31, 2022 · 4 comments · Fixed by #496
Closed

Remove support for podman #422

thomaseizinger opened this issue Oct 31, 2022 · 4 comments · Fixed by #496
Labels
help wanted Extra attention is needed

Comments

@thomaseizinger
Copy link
Collaborator

We only support the official docker API. Maintaining support for different implementations is too much of a burden. We leave it up the actual client implementations (like podman) to successfully disguise them as docker.

This could f.e. be done by aliasing podman to docker or by writing a wrapper binary that provides a compatible interface.

@n-0
Copy link

n-0 commented Nov 6, 2022

I tried aliasing and in the java version of testcontainers it works, but here this runs into issues with bollard-stubs as podman's JSON schema differs from docker's. As an alternative writing a trait that is independent of the container client, whose actual implementation can be provided to testcontainers-rs, would be something nice!

@thomaseizinger
Copy link
Collaborator Author

I tried aliasing and in the java version of testcontainers it works, but here this runs into issues with bollard-stubs as podman's JSON schema differs from docker's.

From my PoV, this needs to be fixed either in podman or bollard-stubs then.

@kiview
Copy link
Member

kiview commented Nov 8, 2022

Hen @n-0, you said

I tried aliasing and in the java version of testcontainers it works

but this is very unlikely since we communicate with the Docker daemon over its REST API. Maybe you used the podman systemd service, that provides a daemon server?

@n-0
Copy link

n-0 commented Nov 9, 2022

yes I used the podman socket (not aliasing, my bad) as described on stack overflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants