Skip to main content

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


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)

Uploaded Source

Built Distribution

ssh_docker-0.0.7-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page