René's URL Explorer Experiment


Title: User-local provisioner daemons · Issue #909 · coder/coder · GitHub

Open Graph Title: User-local provisioner daemons · Issue #909 · coder/coder

X Title: User-local provisioner daemons · Issue #909 · coder/coder

Description: Our team's developers need to access their local USB devices in their Coder workspaces via USB/IP, and to minimize the latency between a USB/IP server running on a developer's local machine (which serves the USB hardware they have connec...

Open Graph Description: Our team's developers need to access their local USB devices in their Coder workspaces via USB/IP, and to minimize the latency between a USB/IP server running on a developer's local machine (which ...

X Description: Our team's developers need to access their local USB devices in their Coder workspaces via USB/IP, and to minimize the latency between a USB/IP server running on a developer's local machine...

Opengraph URL: https://github.com/coder/coder/issues/909

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"User-local provisioner daemons","articleBody":"Our team's developers need to access their local USB devices in their Coder workspaces via USB/IP, and to minimize the latency between a USB/IP server running on a developer's local machine (which serves the USB hardware they have connected to their machine) and the USB/IP client running in a Coder workspace (which attaches that USB hardware remotely over the network), **we'd like our developers to be able to provision Coder workspaces to run on their local machines** (e.g. using the [Docker Terraform provider](https://registry.terraform.io/providers/kreuzwerker/docker/latest/docs)).\r\n\r\nI was describing this use case to @kylecarbs on Slack, and he mentioned:\r\n\r\n> Coder v2 has the concept of a provisioner daemon. It accepts provision operations (like workspace start/stop) and performs them. Developers could run a provisioner daemon on their local machine, and then Terraform would execute against it. This would enable Terraform to run locally, so you could use `unix:///var/run/docker.sock`. Our architecture certainly enables this.\r\n\r\n> We'll have to work with y'all to get the UX nice, but we can certainly provide a flow like:\r\n> 1. Download the Coder CLI.\r\n> 1. Run \"coder provisioner\" in the background.\r\n> 1. Have the workspace provisioned on your local machine, using that provisioner daemon.\r\n>\r\n> We'll have to add some targeting to provisionerd, but that should be simple enough!\r\n\r\nThat sounds exactly like what we were hoping for, so I've created this GitHub issue to formally request this feature in Coder. 😃 \r\n\r\nBuilding on what @kylecarbs suggested above, I think enabling something like the following would meet our requirements:\r\n1. A developer can run a Coder CLI command (e.g. `coder provisioner`) to launch a local provisioner that is associated/authenticated with coderd using the credentials/URL the developer previously provided via `coder login`.\r\n1. A developer can specify that workspace operations (e.g. creation, stopping, etc.) should use a particular provisioner daemon so that they can ensure that a workspace will be created/provisioned/stopped on their local machine as opposed to other machines that would not immediately have the ability to provision/control Terraform resources on the developer's local machine.\r\n\t* For the CLI, maybe this could be specified via an option when running `coder workspace create` like `--provisioner-daemon \u003cPROVISIONER_DAEMON_ID>` where a developer specifies the name/reference to the provisioner daemon of interest via `\u003cPROVISIONER_DAEMON_ID>`?\r\n\t* For the web UI, maybe this could be a drop-down on the workspace creation webpage from which the user could select a provisioner daemon from a list of provisioner daemons that they are authorized to use (see below)?\r\n1. A developer can restrict other Coder users from creating workspaces using a provisioner daemon they are running on their local machine. I think this would help prevent one developer from accidentally (or perhaps maliciously) creating a workspace on a different developer's machine as well as avoid having too many options for selecting a provisioner daemon in the new workspace creation web UI (see above about the proposed drop-down option) when many developers maintain their own provisioner daemons.\r\n    * I think something that would work well for our team would be if the default behavior of Coder would be to give a developer the ability to create workspaces using a provisioner daemon they've spawned themselves but restrict other users from utilizing it unless the provisioner daemon has been associated/registered to be shared throughout a Coder organization. And maybe that association/registration could be performed by the developer via a CLI command or web UI page?\r\n\r\nWhat do you think?\r\n\r\ncc @sunilvenkatraman","author":{"url":"https://github.com/kconley-sq","@type":"Person","name":"kconley-sq"},"datePublished":"2022-04-07T00:47:51Z","url":"https://github.com/coder/coder/issues/909"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:893d8103-4484-2179-6dbe-12b598386c3d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC9A0:928E2:213D83C:2C5C3BA:6B018734
html-safe-noncef210b51e4b7c256794b348e18de87c5bd5f81104426ea50fcae2a8ca7cd941de
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUEwOjkyOEUyOjIxM0Q4M0M6MkM1QzNCQTo2QjAxODczNCIsInZpc2l0b3JfaWQiOiI1Nzk1MDg3MDUyMzAzMzM3MjY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd2d701d74892249f87d146d378bad381693e6e41c5c9ce077bf15625e8fc8d23
hovercard-subject-tagissue:1195347788
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/909/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4e8737fc2175871b07d702dcfde148bb6432a6bda7238f1256401f6932c80fcf/coder/coder/issues/909
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4e8737fc2175871b07d702dcfde148bb6432a6bda7238f1256401f6932c80fcf/coder/coder/issues/909
og:image:altOur team's developers need to access their local USB devices in their Coder workspaces via USB/IP, and to minimize the latency between a USB/IP server running on a developer's local machine (which ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekconley-sq
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/909#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F909
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F909
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/909
Reloadhttps://github.com/coder/coder/issues/909
Reloadhttps://github.com/coder/coder/issues/909
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/909
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/909
User-local provisioner daemonshttps://github.com/coder/coder/issues/909#top
https://github.com/kylecarbs
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
https://github.com/kconley-sq
kconley-sqhttps://github.com/kconley-sq
on Apr 7, 2022https://github.com/coder/coder/issues/909#issue-1195347788
Docker Terraform providerhttps://registry.terraform.io/providers/kreuzwerker/docker/latest/docs
@kylecarbshttps://github.com/kylecarbs
@kylecarbshttps://github.com/kylecarbs
@sunilvenkatramanhttps://github.com/sunilvenkatraman
Nexthttps://github.com/coder/coder/issues/909?timeline_page=1
kylecarbshttps://github.com/kylecarbs
on Apr 12, 2022https://github.com/coder/coder/issues/909#event-6419947724
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
on Apr 12, 2022https://github.com/coder/coder/issues/909#issuecomment-1096845437
@kconley-sqhttps://github.com/kconley-sq
missknisshttps://github.com/misskniss
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
on Apr 26, 2022https://github.com/coder/coder/issues/909#event-6495077847
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on May 5, 2022https://github.com/coder/coder/issues/909#issuecomment-1118876209
@arivictorhttps://github.com/arivictor
missknisshttps://github.com/misskniss
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
on May 12, 2022https://github.com/coder/coder/issues/909#event-6595271636
https://github.com/tjcran
tjcranhttps://github.com/tjcran
on May 16, 2022https://github.com/coder/coder/issues/909#issuecomment-1127976522
tjcranhttps://github.com/tjcran
Community MVP 🏁https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22Community%20MVP%20%3Acheckered_flag%3A%22
on May 16, 2022https://github.com/coder/coder/issues/909#event-6618317587
tjcranhttps://github.com/tjcran
Community MVPhttps://github.com/coder/coder/milestone/2
on May 16, 2022https://github.com/coder/coder/issues/909#event-6618318158
https://github.com/misskniss
missknisshttps://github.com/misskniss
on May 17, 2022https://github.com/coder/coder/issues/909#issuecomment-1128977552
add your planning poker estimatehttps://app.zenhub.com/workspaces/Workspaces-V2-Hub-62019e46b7e29b0014a7f850/issues/coder/coder/909?planning-poker
@kylecarbshttps://github.com/kylecarbs
missknisshttps://github.com/misskniss
Community MVP 🏁https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22Community%20MVP%20%3Acheckered_flag%3A%22
on May 24, 2022https://github.com/coder/coder/issues/909#event-6670199697
missknisshttps://github.com/misskniss
Community MVPhttps://github.com/coder/coder/milestone/2
Enterprise MVP https://github.com/coder/coder/milestone/5
on May 24, 2022https://github.com/coder/coder/issues/909#event-6670201066
missknisshttps://github.com/misskniss
Enterprise MVP 🏁https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22Enterprise%20MVP%20%3Acheckered_flag%3A%22
on May 24, 2022https://github.com/coder/coder/issues/909#event-6670206715
missknisshttps://github.com/misskniss
Post-MVPhttps://github.com/coder/coder/milestone/6
on Jul 22, 2022https://github.com/coder/coder/issues/909#event-7047365535
https://github.com/dwahler
dwahlerhttps://github.com/dwahler
on Jul 28, 2022https://github.com/coder/coder/issues/909#issuecomment-1198571872
#44https://github.com/coder/coder/issues/44
@kconley-sqhttps://github.com/kconley-sq
missknisshttps://github.com/misskniss
dwahlerhttps://github.com/dwahler
kylecarbshttps://github.com/kylecarbs
on Jul 29, 2022https://github.com/coder/coder/issues/909#event-7090814142
kylecarbshttps://github.com/kylecarbs
needs groominghttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%22
on Aug 22, 2022https://github.com/coder/coder/issues/909#event-7236652207
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Oct 22, 2022https://github.com/coder/coder/issues/909#issuecomment-1287549773
github-actionshttps://github.com/apps/github-actions
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Oct 22, 2022https://github.com/coder/coder/issues/909#event-7644396896
bpmcthttps://github.com/bpmct
kylecarbshttps://github.com/kylecarbs
dwahlerhttps://github.com/dwahler
on Oct 26, 2022https://github.com/coder/coder/issues/909#event-7675478573
github-actionshttps://github.com/apps/github-actions
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Oct 27, 2022https://github.com/coder/coder/issues/909#event-7677574918
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
on Nov 7, 2022https://github.com/coder/coder/issues/909#issuecomment-1305975747
#4935https://github.com/coder/coder/pull/4935
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
on Nov 9, 2022https://github.com/coder/coder/issues/909#issuecomment-1309054561
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
on Dec 14, 2022https://github.com/coder/coder/issues/909#issuecomment-1351618978
kylecarbshttps://github.com/kylecarbs
completedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 14, 2022https://github.com/coder/coder/issues/909#event-8038365900
https://github.com/matifali
matifalihttps://github.com/matifali
on Jan 4, 2024https://github.com/coder/coder/issues/909#issuecomment-1877833418
@bpmcthttps://github.com/bpmct
@kylecarbshttps://github.com/kylecarbs
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/909
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/909
kylecarbshttps://github.com/kylecarbs
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.