Running local processes

There are two ways you can have Telepresence run your local process.

--run

--run takes one or more arguments and runs the resulting command, e.g. to run ruby myserver.rb you can do:

$ telepresence --run ruby myserver.rb

This process will have access to the environment variables, outgoing proxying and volumes proxied by Telepresence. (Volumes aren't as transparent, sadly: see the relevant docs.

--run-shell

--run-shell takes no arguments, it simply runs a bash process:

$ telepresence --run-shell
@minikube|$

Any process run inside the shell will have access to the environment variables, outgoing proxying and volumes proxied by Telepresence.

results matching ""

    No results matching ""