testcontainers-hs icon indicating copy to clipboard operation
testcontainers-hs copied to clipboard

Using testcontainers-hs with Podman instead of Docker

Open sigrdrifa opened this issue 1 year ago • 1 comments

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/

sigrdrifa avatar May 08 '24 07:05 sigrdrifa

@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).

kiview avatar Jun 27 '24 07:06 kiview