Set location for deployed application on target computer
uses the specified location on target to persist the deployed applications.
Set Deployment Location on Target
Create a target object and add a target with name
LinuxTarget1 containing user name
tgs = linux.Targets(); tg = tgs.addTarget("LinuxTarget1", "22.214.171.124", "user1", "myPassword");
Set the deployment location.
tg — Object representing a target computer
Object represents a target computer. Use the object to establish the connection with Linux target, to deploy the applications on Linux target, and perform several other actions.
locationOnTarget — Location on target for applications
Specify a location on target to persist the deployed application instead of placing them on a location on docker container. This helps in persisting the applications even when the docker crashes.
Introduced in R2022b