Title: Option to override the path to known_hosts · Issue #778 · serverless/serverless-python-requirements · GitHub
Open Graph Title: Option to override the path to known_hosts · Issue #778 · serverless/serverless-python-requirements
X Title: Option to override the path to known_hosts · Issue #778 · serverless/serverless-python-requirements
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 mount...
Open Graph 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 ...
X 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 po...
Opengraph URL: https://github.com/serverless/serverless-python-requirements/issues/778
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Option to override the path to known_hosts","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have searched existing issues, it hasn't been reported yet\r\n\r\n### Use case description\r\n\r\nUsing minikube on Hyper-V as a Docker platform while running on Windows poses a few unique quirks,\r\n* Docker volume mounts run on the VM and does not have access to the Windows filesystem\r\n* The `homePath` variable points to \"C:\\Users\\\\\\\u003cusername>\" while the VM needs \"/home/docker\"\r\n\r\n**Workarounds**\r\n* Run `minikube mount` to pass the requirements.txt to the VM\r\n```pwsh\r\nminikube mount C:\\Users\\\u003cusername>\\AppData\\Local\\UnitedIncome\\serverless-python-requirements:\"/mnt/c/Users/\u003cusername>/AppData/Local/UnitedIncome/serverless-python-requirements\"\r\n```\r\n* Override `dockerPrivateKey` to point to a location in the VM\r\n\r\n**Issue:** pip.js hardcodes the path to `known_hosts` using the `homePath` variable which results in an invalid location 'C:\\\\Users\\\\\\\u003cusername\\>/.ssh/known_hosts:/root/.ssh/known_hosts:z'.\r\n\r\n\r\n### Proposed solution (optional)\r\n\r\nAn option like `dockerKnownHosts` similar to `dockerPrivateKey` which can be used to set the path.","author":{"url":"https://github.com/k3karthic","@type":"Person","name":"k3karthic"},"datePublished":"2023-06-09T02:45:26Z","url":"https://github.com/serverless/serverless-python-requirements/issues/778"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b67ad843-c52e-c5e2-5bbe-50faaba7f7d1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EB8:2F022B:19CE2:227DE:6B043015 |
| html-safe-nonce | d22ccaf942b92c59a7593c96007ecab60a6b70cbcd150da24c340a467313e074 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUI4OjJGMDIyQjoxOUNFMjoyMjdERTo2QjA0MzAxNSIsInZpc2l0b3JfaWQiOiI3NTUxMDg3OTg3NTA2MDMyNjYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4d534d086d943eccd7935402d76a80aac0861545d046cd9fbac983a90f4e3bb9 |
| hovercard-subject-tag | issue:1749006464 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/serverless/serverless-python-requirements/778/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4f37abfa0b08e0addfd40dfd5705977e86375b6c33708d0c523233be2b556713/serverless/serverless-python-requirements/issues/778 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f37abfa0b08e0addfd40dfd5705977e86375b6c33708d0c523233be2b556713/serverless/serverless-python-requirements/issues/778 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | k3karthic |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/serverless/serverless-python-requirements git https://github.com/serverless/serverless-python-requirements.git |
| octolytics-dimension-user_id | 13742415 |
| octolytics-dimension-user_login | serverless |
| octolytics-dimension-repository_id | 76508594 |
| octolytics-dimension-repository_nwo | serverless/serverless-python-requirements |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 76508594 |
| octolytics-dimension-repository_network_root_nwo | serverless/serverless-python-requirements |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width