palm-cli icon indicating copy to clipboard operation
palm-cli copied to clipboard

support `exec` commands

Open norton120 opened this issue 4 years ago • 1 comments

Context if your project uses persistent containers, palm can't exec them. womp.

Is your feature request related to a problem? Please describe. it's totally reasonable to architect projects from scratch to always use new run instances. but sometimes you really might need to exec a running instance - OR it just might be a better pattern that makes more sense

Describe the solution you'd like context.obj has run_in_docker it would be cool if it also had exec_in_docker so you could palm up and then palm migrate which runs exec commands on the container from the up command.

Describe alternatives you've considered re-architect the project to use only run commands, but there are some things that just isn't going to work for I don't think.

Is there an existing feature request for this?

  • [x] I have searched the existing issues

norton120 avatar Nov 16 '21 05:11 norton120

I think this feature maps well to larger projects with multiple containers. I've used similar workflows when working with rails, for example.

I definitely think we will want something like this, but we should build it with multi-container apps in mind

jakeberesford-palmetto avatar Nov 16 '21 15:11 jakeberesford-palmetto