Setting the container command
Intro
During development time, the container's command that should run might be different than the command in a production scenario.
This guide will walk you through the steps for setting the container's command that will run when the Velocity session starts
Setting the command
Jet Brains
Under the run configurations drop-down, click on "Edit Configurations.."
Choose the relevant Velocity configuration
Make sure you are on the "Target" tab
Add the command to the "Workload command" field
Start the session using the configuration with the new command
VS Code- Coming soon
What types of commands are supported?
We follow the same logic of the Docker CMD and support both the Shell format ( CMD command param1 param2
) and Exec ( ["executable","param1","param2"]
)
Read more about how Docker CMD works here
Last updated