MarketSquare / MarketSquare/SSHLibrary

Login to docker container using jumping host

Open
#390 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
167
Forks
145
PR merge metrics
No merged PRs in 30d

Description

I have a scenario like this:
1. Login to the host and create alias name for the docker run command
2. Login to the host
3. connect to docker container using alias bash
4. start working in docker container

I was not able to do the same thing using SSH Library

Using Jumping host, its possible to connect to another host but in here my host is docker container.

Could anyone provide solution for it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by reviewing SSHLibrary's jump-host connection and remote command execution entry points, then compare them with the alias-based docker run and bash workflow described here. Done means establishing whether this container connection scenario is supported and documenting or implementing a clear solution.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.