pyinfra-dev / pyinfra

pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.
https://pyinfra.com
MIT License
3.92k stars 382 forks source link

Feature request: docker container exec #1217

Open erlangparasu opened 1 month ago

erlangparasu commented 1 month ago

Is your feature request related to a problem? Please describe

docker container exec

Describe the solution you'd like

https://docs.ansible.com/ansible/latest/collections/community/docker/docker_container_exec_module.html#examples