Title: how to use remote Docker host · Issue #6921 · coder/coder · GitHub
Open Graph Title: how to use remote Docker host · Issue #6921 · coder/coder
X Title: how to use remote Docker host · Issue #6921 · coder/coder
Description: Create a new remote docker template similar to docker-image-builds Remote docker host should be specified as ssh://user@host Key to access the host should be already available on the deployment in ~/.ssh/KEY For services like fly.io, rai...
Open Graph Description: Create a new remote docker template similar to docker-image-builds Remote docker host should be specified as ssh://user@host Key to access the host should be already available on the deployment in ...
X Description: Create a new remote docker template similar to docker-image-builds Remote docker host should be specified as ssh://user@host Key to access the host should be already available on the deployment in ...
Opengraph URL: https://github.com/coder/coder/issues/6921
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"how to use remote Docker host","articleBody":"Create a new remote docker template similar to [docker-image-builds](https://github.com/coder/coder/tree/main/examples/templates/docker-image-builds)\r\n1. Remote docker host should be specified as `ssh://user@host`\r\n2. Key to access the host should be already available on the deployment in `~/.ssh/KEY`\r\n3. For services like fly.io, railway.app, render.com, where putting the key inside the Dockerfile is not a good solution. The private key can be created as a secret or secured environment variable.\r\n4. We can also create a managed sensitive terraform variable to store the key, which is not secure as values are stored unencrypted in the database. Thanks, @deansheather \r\n5. Check for the value of the Secret/Environment variable and create `~/.ssh/KEY` file with the correct permissions on the Coder host to be able to access the remote docker host using terraform [`local-exec`](https://developer.hashicorp.com/terraform/language/resources/provisioners/local-exec)","author":{"url":"https://github.com/matifali","@type":"Person","name":"matifali"},"datePublished":"2023-03-31T11:55:29Z","url":"https://github.com/coder/coder/issues/6921"}
| 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:c1cdb72e-ed0e-bee3-b13d-62ab6f7ab203 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C736:3A73AA:1D9CBD8:2580979:6B019BC5 |
| html-safe-nonce | 9f1b01a5f61a716afc09ac78b4f87506db66564a5efa055ec57edfb6f939a510 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzM2OjNBNzNBQToxRDlDQkQ4OjI1ODA5Nzk6NkIwMTlCQzUiLCJ2aXNpdG9yX2lkIjoiMTM3NzcwNDEwNDUxMTUxMTQ5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8861155c948e244911204f1ad9666c6da4cfe0a863837cbad90007e81a0bf17b |
| hovercard-subject-tag | issue:1649227430 |
| 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/coder/coder/6921/issue_layout |
| twitter:image | https://opengraph.githubassets.com/feed7fc84cef0093d179993547ee69f26282e8faef8063fe98ccaccfc4f9a410/coder/coder/issues/6921 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/feed7fc84cef0093d179993547ee69f26282e8faef8063fe98ccaccfc4f9a410/coder/coder/issues/6921 |
| og:image:alt | Create a new remote docker template similar to docker-image-builds Remote docker host should be specified as ssh://user@host Key to access the host should be already available on the deployment in ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | matifali |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width