A small convenience command to interactively deal with containers running remotely.
Project description
A small convenience command to interactively deal with containers running remotely.
Installation
pip install ssh-docker
Usage
ssh-docker <hostname>
This will open up an interactive shell (similar to how Supervisord works) allowing you to directly query / perform actions on the containers on the host.
If you’d like to enable autocomplete in ZSH, you can add the following to your ~/.zshrc file:
eval "$(_SSH_DOCKER_COMPLETE=source_zsh ssh-docker)"
By entering ssh-docker [TAB] you will be able to cycle through all hostnames in your SSH config file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssh-docker-0.0.7.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for ssh_docker-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f42ae3f2c36305cd50feae5f91d17cff1dbc2278177aaa4f7e68c60252dee9 |
|
MD5 | 62e61efb78802d82fc168789b790ac85 |
|
BLAKE2b-256 | 6f5cb63d933a921b6510bea9874d0241bb9d2e8793504abd4976bf29e55469b1 |