Sign inSign up

emyller/fabric

By emyller

•Updated over 8 years ago

A Python image that includes Fabric.

Image
0

289

emyller/fabric repository overview

⁠python-nodejs

A Python image that includes Fabric⁠.

⁠How to use

$ ls
tasks.py

$ docker run --rm -it -v $(pwd):/app emyller/python-fabric -l
[task list]

⁠SSH

In order to execute SSH commands, you have to share your private key with the container and pass some additional parameters so that fabric.connection.Connection⁠ can work. This is how you'd do it:

$ docker run --rm -it \
    -v $(pwd):/app \
    -v $(pwd)/my-key.pem:/data/ssh-key \
    emyller/python-fabric my-ssh-task -H my-host -i /data/ssh-key

There are also other forms of configuration in Fabric 2⁠, if you want to make that easier.

Tag summary

Content type

Image

Digest

Size

345.3 MB

Last updated

over 8 years ago

docker pull emyller/fabric