Setting the container command

During development runtime, the commands that should run might be different than the commands that would run in a production environment. With Velocity, you can set the container commands that run when the Velocity session starts. This can include, for example, path mapping and authentication details.

For more information about port mapping, see Path mappings

Set the command

  1. Navigate to Edit configurations... and for the relevant configuration, choose the Target tab.

  2. Add the relevant command to the Workload Command field.

  1. Click Apply to save your changes.

Supported command types

Velocity follows the same logic as is supported by the Docker CLI, supporting both the Shell format (CMD command param1 param2) and Exec (["executable","param1","param2"]).

Read more about how Docker CMD works here.

Last updated