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

Equivalent of docker flag "-v" in Starlark code #2599

Open
hduoc2003 opened this issue Dec 2, 2024 · 0 comments
Open

Equivalent of docker flag "-v" in Starlark code #2599

hduoc2003 opened this issue Dec 2, 2024 · 0 comments
Labels
critical Critical bug or feature feature request

Comments

@hduoc2003
Copy link

hduoc2003 commented Dec 2, 2024

Background & motivation

I want to perform the docker flag -v in my Starklark code to get some reporting files from my container (called A), but the option files in ServiceConfig can't do that.

Current Solution

  1. Use plan.wait(A, some_commands) to execute commands in container A.
  2. Use plan.store_service_files to retrieve files from A.
  3. Add an alpine service and mount these files.
  4. Use kurtosis files download to download the files locally.

While this approach works, it seems verbose and could be streamlined.

Desired behaviour

Something perform the docker flag -v with rw mode.

How important is this to you?

Critical; Kurtosis is unusable for me without it.

What area of the product does this pertain to?

Starlark

@github-actions github-actions bot added the critical Critical bug or feature label Dec 2, 2024
@hduoc2003 hduoc2003 changed the title Equivalent of docker mount in Starlark code Equivalent of docker flag "-v" in Starlark code Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical Critical bug or feature feature request
Projects
None yet
Development

No branches or pull requests

1 participant