smj10j / dssh

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

Home Page:https://rubygems.org/gems/dssh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://rubygems.org/gems/dssh


Languages

Language:Shell 80.7%Language:Ruby 19.3%