Run the Pipeline Container (locally)

Deploy to the cloud; debug locally!

This section will teach you:

  • How to run a container locally (for debugging!)

  • How to run your container on AWS Batch (for fun!)

  • Watch Disdat re-use prior results, and learn how to force it to recompute tasks.

Local container execution in your local context

The Disdat CLI provides a run command that almost exactly mirrors apply.

$dsdt run . pipelines.dependent_tasks.B

By default the run command:

  • Runs your container via the local Docker client

  • Runs in your current context (placing output bundles in that context)

  • The current implementation waits till the container exits to return the result

Pro Tip: If you want to see what you're container is doing, you can follow along with this command in another terminal:

Forcing Disdat to recompute tasks

Sometimes you want to re-compute a particular task or a task and all its upstream dependencies. To do so you can use -f to recompute the last task or --force-all to recompute the whole pipeline (careful with that). Those flags apply to both run and to apply

That will ensure we make another version of the output bundle.

Last updated

Was this helpful?