Skip to content
Discussion options

You must be logged in to vote

RTK works with Docker Compose commands — no need to install RTK inside the container.

Instead of running rtk docker compose run ..., wrap your command with rtk test, rtk err, or rtk summary:

Filter test output (failures only)

rtk test "docker compose run --rm <CONTAINER_NAME> pdm test"
rtk test "docker compose run --rm <CONTAINER_NAME> yarn test"

Filter errors/warnings only

rtk err "docker compose run --rm <CONTAINER_NAME> pdm test"

Generic summary

rtk summary "docker compose run --rm <CONTAINER_NAME> yarn build"

RTK captures stdout/stderr from the host side and applies its filters — the container runs normally, no modifications needed.

I tested this with a simple Vitest setup in Docker C…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@alterphp
Comment options

@alterphp
Comment options

Answer selected by alterphp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants