Docsright arrowTelepresenceright arrow1.0right arrowRunning local processes

1 min • read

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:

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:

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