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

Using testcontainers-hs with Podman instead of Docker #53

Open
sigrdrifa opened this issue May 8, 2024 · 1 comment
Open

Using testcontainers-hs with Podman instead of Docker #53

sigrdrifa opened this issue May 8, 2024 · 1 comment

Comments

@sigrdrifa
Copy link

Hey guys,

Just wondering if anyone has had any luck running testcontainers-hs with Podman instead of Docker and if there are any helpers for it? I'm trying to run some tests with Podman but unfortunately I am getting permission errors when calling it from haskell, despite things working when using Golang (testcontainers-go).

The go module for testcontainers also has helpers for specifically targeting (I'm guessing they are setting some things that aren't being set when I run the tests from haskell), and I'm wondering if testcontainers-hs has something similar?

https://golang.testcontainers.org/system_requirements/using_podman/

@kiview
Copy link
Member

kiview commented Jun 27, 2024

@sigrdrifa What kind of issues are you getting specifically? Testcontainers generally does not want to add Podman-specific code. If Podman is setup to provide the Docker Engine API through its systemd service, anything not working would be considered an upstream incompatibility issue with Podman and should be raised there (the Podman team has been receptive in helping to improve compatibility once reported).

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

No branches or pull requests

2 participants