Skip to content

Host folders

Share a folder from your Mac with an environment, read-only or writable.

Nothing from your Mac is mounted by default. Share a folder when you create the environment:

regent create app --mount ~/code/app                  # at /home/regent/app
regent create app --mount ~/code/app:/srv/app         # somewhere else
regent create app --mount ~/code/app:ro               # read-only

Repeat --mount for more folders. Anything in the environment, agents included, can change a writable mount’s files on your Mac. For an agent you don’t want touching your checkout, mount it read-only or copy it in with rsync.

Type to search…

↑↓ navigate↵ selectEsc close