I use podman rootless with a docker compat on my machine. The container is started just fine, but as soon as I try to run any test it fails because the container is not found. This seems to come from the fact, that the raw docker socket is used to create the container, but later docker exec is used in the test. The container is running under the root user, so my local user can't find it.
I'm not sure why the usage is split, but it should be either always socket or always CLI, to ensure that the container is running in the right place. Using the CLI is the better option, as this properly allows rootless mode. I had to manually add my user to the podman group, so Cypress would be able to use the raw socket.
CC @skjnldsv @susnux
I use podman rootless with a docker compat on my machine. The container is started just fine, but as soon as I try to run any test it fails because the container is not found. This seems to come from the fact, that the raw docker socket is used to create the container, but later
docker execis used in the test. The container is running under the root user, so my local user can't find it.I'm not sure why the usage is split, but it should be either always socket or always CLI, to ensure that the container is running in the right place. Using the CLI is the better option, as this properly allows rootless mode. I had to manually add my user to the podman group, so Cypress would be able to use the raw socket.
CC @skjnldsv @susnux