Turn debug output on
The directory to use
The name of the service with which the dockercfg should be generated
The path to the encrypted dockercfg file to be used
Override the entrypoint of the image
Set an environment variable (can be used multiple times)
The key path for encrypting secure environment variables.
Do not remove any containers that are run, overrides all other settings
Disable pseudo-tty allocation
Pull images that are already present
The relative services path
jet run command will build and execute a service from the
file, or run a single command.
This is a good way to debug your services
For instance, you can run
jet run service_app or
jet run service_app echo "hello" where
service_app is one of the
services defined in your
You can debug your builds locally by first executing
jet run, then
connect to your running containers to manually run the commands from
As an example, the following will start your service, display the container ID, and then connect to the running container using the container ID.
$ jet run PRIMARY_SERVICE_NAME # locate CONTAINER_ID $ docker ps -a $ docker exec -it CONTAINER_ID /bin/sh