community.docker icon indicating copy to clipboard operation
community.docker copied to clipboard

Add more Docker Compose modules

Open felixfontein opened this issue 1 year ago • 2 comments

SUMMARY

The following could make sense as new modules. See https://github.com/ansible-collections/community.docker/issues/941#issuecomment-2251219797 for more details.

  • [ ] build: makes sense as its own module docker_compose_v2_build
  • [ ] cp: makes sense as its own module, or two (copy into/out of container?)
  • [x] exec: makes sense as its own module docker_compose_v2_exec (#969)
  • [ ] push: makes sense as its own module docker_compose_v2_push
  • [x] run: makes sense as its own module docker_compose_v2_run (#969)
  • [ ] wait: might make sense as its own module
  • [ ] docker_compose_v2_info
ISSUE TYPE
  • Feature Idea
COMPONENT NAME

new modules

felixfontein avatar Aug 16 '24 07:08 felixfontein

I ended up here as I'm looking to create a playbook to update my Mastodon instance. As per the linked comment I can see you are looking for any relevant use cases before adding any of these so I'd like to request run please. The Mastodon update instructions sometimes require running commands such as docker-compose run --rm web bundle exec rails db:migrate (and/or others) which I would have to run via the shell plugin currently.

lnlyssg avatar Sep 21 '24 22:09 lnlyssg

community.docker 3.13.0 (released earlier today) contains two new modules docker_compose_v2_exec and docker_compose_v2_run.

felixfontein avatar Oct 04 '24 11:10 felixfontein