Skip to content

Cypress broken with podman rootless containers #927

@provokateurin

Description

@provokateurin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions