Create

For more information, see reference.

Create a custom sidecar container that runs alongside your app container

tapit create sidecar image=IMAGE [name=NAME] [command=COMMAND] [enabled=true|false] [all_processes=true|false] [depends_on_primary=true|false] [depends_on_condition=START|HEALTHY] [--ignore-existing]

Required

  • image

Parameters

  • name: Container name for the sidecar (optional, generated if omitted)
  • image: Docker image to run as the sidecar container (required)
  • command: Shell command to run in the container instead of the image default
  • enabled: Whether the sidecar is included in deployments (true/false, default true)
  • all_processes: Add the sidecar to all app processes, instead of only the default process (true/false, default false)
  • depends_on_primary: Start the sidecar only after the primary container (true/false, default false)
  • depends_on_condition: Dependency condition on the primary container: START/HEALTHY (default START). SUCCESS and COMPLETE are not allowed because the primary container is essential
  • --ignore-existing: Skip creation if a resource with the same name already exists (useful for idempotent scripts)