Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for running local service in a Docker container #76

Closed
itamarst opened this issue Mar 29, 2017 · 1 comment
Closed

Support for running local service in a Docker container #76

itamarst opened this issue Mar 29, 2017 · 1 comment
Labels

Comments

@itamarst
Copy link
Contributor

@itamarst itamarst commented Mar 29, 2017

Telepresence (in 0.22 or later) cannot proxy local services running in a Docker container.

This was implemented in version < 0.22, but was not very robust. Having both local process and local container supported in same program also impacts the design in ways that aren't. The feature was therefore removed, but should be reintroduced if users want it, perhaps as a separate program.

Requirements:

  • Ability to hard code destination port of a Service in the code written by the developer. E.g. "connect to port 6719 of service myredis" should work if the destination Service is on port 6719. Previously this was not possible, since we proxied ports to random other ports, so e.g. you would have to connect to port 2000.

Implementation ideas:

  • Document how to run Telepresence inside a Docker container. This is the easiest option, but require more user work.
  • OpenVPN or some other VPN.
  • Similar to original design, except instead of having single container proxy everything, have a different container proxying each Service. That would allow them to have different IP/port combinations, much like real Services, which is necessary if we want to meet requirements above.
@itamarst
Copy link
Contributor Author

@itamarst itamarst commented Jun 13, 2017

Superseded by #175.

@itamarst itamarst closed this Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.