devvm link
List this folder’s VM’s links to your other VMs
Synopsis
List this folder’s VM’s links to services in your other VMs, each with its name, port, target VM and folder, the target’s status, and whether the link applies. Programs in the VM reach a link as NAME:PORT and NAME.devvm.internal:PORT.
devvm link [flags]Examples
devvm link # list this folder's VM's links
devvm link add db 5432 # reach port 5432 of the VM for the folder db as db:5432
devvm link publish 5432 # offer this VM's port 5432 to links from your other VMsOptions
-h, --help help for link
--here use this folder's own VM, never that of a folder it's inside
--json print it as one JSON object, for scripts
--parent use the VM of the nearest folder this one is inside, even across a git repo of its ownOptions inherited from parent commands
--no-input never ask, and fail where devvm would ask, naming the flag that answers it
-v, --verbose show the output of the commands devvm runs instead of a status lineDocs
The docs page for devvm link explains it in full.
See also
- devvm: Open a shell in this folder’s VM, creating it first
- devvm link add: Link this folder’s VM to a port of another VM
- devvm link publish: Show or add the ports this folder’s VM offers to links
- devvm link rm: Remove one of this folder’s VM’s links
- devvm link unpublish: Stop offering ports of this folder’s VM to links
Last updated on