Skip to content

Change RedpandaContainer startup script path #841

Open

Description

@lorenzobenvenuti

Hi,

we're running Testcontainers in Openshift using Kubedock; when using RedpandaContainer, our tests break because , after the container is started, the actual startup script is copied to / which is not writable by the redpanda user. I think we could safely switch to another directory, for example /var/lib/redpanda (btw I see other libraries are doing the same, see here).
I realize we have a pretty unique setup but the change should be pretty simple and probably using a directory owned by the user that runs the container could prevent issues in other environments too.
If you think it's feasible I can work on a PR.

Thanks,

lorenzo

Activity

  1. lorenzobenvenuti commented on Jul 2, 2025

    @lorenzobenvenuti
    ContributorAuthor

    Since the change was pretty strightforward, I went ahead and created a PR. Please lmk what you think.

    Thanks,

    lorenzo

  2. lorenzobenvenuti commented on Aug 26, 2025

    @lorenzobenvenuti
    ContributorAuthor

    Hi, can anyone please have a look? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions