No authentication methods available
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
Description
I am trying to create and run docker container from my website on remote machine.
I am using Windows as development machine and trying to connect linux machine, so When I tried to run following command from windows machine, it works fine, But I am getting issue while deploying code on Linux server.
client = docker.DockerClient(base_url='SSH://root@123.123.123.123')
But I have deploy my Django web application on Linux server and trying to create and run docker on another Linux machine I am getting error like this
No authentication methods available
Please note: I am able to connect Linux server 1 to server 2 by following command
(I can access Linux Server 2 from Linux Server 1 Password less because I want to create automation process for docker)
ssh root@121.121.121.121
I have searched a lot on internet to find out solution, but unable to get it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Python DockerClient call using the SSH base_url and compare it with the passwordless ssh command from the deployed Django environment. Trace how the Linux deployment authenticates to the remote Docker host; done means identifying a reproducible cause for the authentication error and documenting a verified connection path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100