# `mix testcontainers.run`
[🔗](https://github.com/testcontainers/testcontainers-elixir/blob/main/lib/mix/tasks/testcontainers/run.ex#L1)

Usage:
  mix testcontainers.run [sub_task] [--database DB] [--db-volume VOLUME] [sub_task_args...]

Examples:
  mix testcontainers.run test --database postgres
  mix testcontainers.run phx.server --database mysql
  mix testcontainers.run test --database postgres --db-volume my_postgres_data
  mix testcontainers.run phx.server --db-volume my_postgres_data
  mix testcontainers.run some.custom.server

# `run`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
