finch
finch copied to clipboard
`compose exec` command is missing
First, thank you for all of your works on finch.
What is the problem you're trying to solve?.
docker has compose exec command, but finch doesn't.
https://docs.docker.com/engine/reference/commandline/compose_exec/
Describe the feature you'd like
finch compose exec performs the same action as docker compose exec
finch uses nerdctl as upstream. finch forwards the compose commands to nerdctl to perform the task. Currently, compose exec is not supported by nerdctl
Here is the list of commands supported by nerdctl
https://github.com/containerd/nerdctl#command-reference
I marked this issue as an enhancement. May be we can contribute to the nerdctl to implement compose exec.
Just FYI now the command is implemented in nerdctl in https://github.com/containerd/nerdctl/pull/1598.
Only the --env arg may not work properly which will be fixed in this PR: https://github.com/containerd/nerdctl/pull/1614
@KoichiKiyokawa, Finch 0.2.0 uses nerdctl 1.1 which supports compose exec command.
example:
finch compose exec service_name pwd
@monirul Thank you very much! It helps me a lot!