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.6.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for ssh_docker-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e96b574fcfca3414a7f3b20c67af792ac1609379ac3892328178b448a3949e3 |
|
MD5 | 95c8ac6bd31b412c400e18a992cb19b7 |
|
BLAKE2b-256 | e16b93e118aca3266cd2c9ea7d484ad936710d86c660ee558c40eb396beb8fbb |