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.5.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for ssh_docker-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94ce43db93efaac68c5e187856200bc8d4dee7feb842956d410df83ca1637d29 |
|
MD5 | accf76f67e587d26519c15927b47a5a0 |
|
BLAKE2b-256 | bd130f7f2019f08c98b1180c562a8b138a9615a8ef627e3a58f46247c8487cc6 |