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

  1. Under the run configurations drop-down, click on "Edit Configurations.."

  1. Choose the relevant Velocity configuration

  2. Make sure you are on the "Target" tab

  3. Add the command to the "Workload command" field

  1. 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