xonsh-docker-tabcomplete

docker tabcomplete support for the Xonsh shell


License
MIT
Install
pip install xonsh-docker-tabcomplete==0.1.5

Documentation

xonsh-docker-tabcomplete

Build Status PyPI PyPI license

This provides tab completion for docker in xonsh.

This got born from a problem with the official bash completion for docker in xonsh. This script tries to use the docker api as much as possible. Its far from perfect and kind of alphaish. Im happy for every idea and pull request.

Implemented

All arguments and commands for docker version 1.10.

Installation

pip install xonsh-docker-tabcomplete

or

pip install git+https://github.com/xsteadfastx/xonsh-docker-tabcomplete.git

Using

Put xontrib load docker_tabcomplete in your ~/.xonshrc.

Configuration

These are the environment variables that can be used to configurate the docker tabcompletion:

  • DOCKER_BASE_URL: The base url docker-py needs to connect. It defaults to unix://var/run/docker.sock.