/dssh

Uses nsenter to provide a terminal to a Docker container. Looks and feels like an ssh client.

Primary LanguageShell

dssh

Uses nsenter to provide a terminal to a Docker container. Looks and feels like an ssh client.

Installation

gem install dssh

Usage

Assuming you have a docker container already started and currently running:

dssh <container-id>

If you only have one container running, you can leave off the container-id:

dssh

If you require sudo to use docker, you'll also have to sudo dssh.

dssh API Documentation