
--mount option so your local process sees the same filesystem contents as the container.
How it works
- Telepresence mounts the remote volume into a local mount point on your machine.
- By default Telepresence chooses a temporary directory (for example
/tmp/telfs-<random-number>). - You can request a specific local path by supplying
--mount=<local-path>. - Mounts are visible in
telepresence listfor each active intercept.
- Mount the remote volume to a specific local directory (e.g.,
/tmp/):
- If you omit a path, you can enable mounting with a boolean-style flag (behavior depends on your Telepresence version). Telepresence then creates a temporary mountpoint for you, typically something like
/tmp/telfs-1147625726.
telepresence list to see details about active intercepts. The output includes a Volume Mount Point field showing the local mount location:
Volume Mount Point is the path on your local filesystem that mirrors the remote volume. Accessing files there lets your locally running process read and write the same data used by the intercepted container.
Quick reference
Mounting remote volumes exposes those files on your machine. Be careful with sensitive data, and avoid simultaneous conflicting writes from both the cluster process and your local process to prevent data corruption or integrity issues.
- Telepresence official site: https://www.telepresence.io/
- Telepresence CLI reference: https://www.telepresence.io/docs/latest/ (see intercept and mount options)
- Kubernetes volumes overview: https://kubernetes.io/docs/concepts/storage/volumes/