merll / docker-fabric

Integration of Docker deployments into Fabric.
MIT License
79 stars 10 forks source link

Executing SSH command in running container? #19

Open chrisspen opened 4 years ago

chrisspen commented 4 years ago

Is it possible to execute a traditional fabric command within a running docker container? e.g. Make the Fabric run() execute inside Docker?

I'm looking for a tool that can SSH into and run commands inside a docker container. I'm familiar with Fabric, so I thought a tool named Docker-Fabric would be exactly what I needed. However, after reading through the documentation, there doesn't seem to be any Fabric-like functionality. This just appears to be a Python wrapper around the service-level components of Docker. Is this correct?

For example, I saw this doc page about SSH tunneling, but nothing there describes how to execute SSH commands inside the container. Is this outside the scope of the project?

shayneoneill commented 3 years ago

I think its abandoned :(