FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Option to override the path to known_hosts · Issue #778 · serverless/serverless-python-requirements · GitHub

This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Repository navigation

This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Option to override the path to known_hosts #778

Description

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

Using minikube on Hyper-V as a Docker platform while running on Windows poses a few unique quirks,

  • Docker volume mounts run on the VM and does not have access to the Windows filesystem
  • The homePath variable points to "C:\Users\<username>" while the VM needs "/home/docker"

Workarounds

  • Run minikube mount to pass the requirements.txt to the VM
minikube mount  C:\Users\<username>\AppData\Local\UnitedIncome\serverless-python-requirements:"/mnt/c/Users/<username>/AppData/Local/UnitedIncome/serverless-python-requirements"
  • Override dockerPrivateKey to point to a location in the VM

Issue: pip.js hardcodes the path to known_hosts using the homePath variable which results in an invalid location 'C:\Users\<username>/.ssh/known_hosts:/root/.ssh/known_hosts:z'.

Proposed solution (optional)

An option like dockerKnownHosts similar to dockerPrivateKey which can be used to set the path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL