# run-container-pipeline

## Description

* This command can be used to run a local pre-generated Container through a Container pipeline *(aribtrary sequence of transformers & publishers)*

## Syntax

`ern run-container-pipeline`

**Options**

`--containerPath`

* The local file system path to the directory containing the Container to run through the pipeline.
* **Default** If this option is not provided, the command will look for a Container in the default platform directory `~/.ern/containergen/out/[platform]`.

`--pipeline`

* Path to the JSON file containing the pipeline configuration.
* Can either be a local file system path to the JSON file, or a path to a JSON file stored in the cauldron *(for example cauldron://config/my-pipeline.json for a my-pipeline.json file stored in config directory in the cauldron)*

`--platform`

* Specify the native platform of the target Container (`android` or `ios`)
* This option is required, there is no default.

`--version/-v`

* Specify the Container version to use for publication.
* The version will be ignored if the pipeline is only composed of transformers.
* Defaults to `1.0.0`.

## Remarks

Refer to [container publication](/v0.48/reference/index-1/container-publication.md) and [container integration](/v0.48/reference/index-1/container-integration.md) documentation for more details regarding the structure of the JSON pertaining to pipeline configuration.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://native.electrode.io/v0.48/cli-commands/run-container-pipeline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
