docker compose run --rm -e DEBUG=1 web bash

Category: Docker

docker compose run --rm -e DEBUG=1 web bash

Run a one-off shell with a custom env var set

Runs a one-off container with a custom environment variable, then deletes it.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.