This is just a trivial quality of life improvement PR for Redash developers.
It adds the --remove-orphans option to the make up docker compose commands, to automatically remove orphaned containers from previous runs.
Without this option make up will commonly display a warning about orphaned containers:
WARN[0000] Found orphan containers ([redash-server-run-9d298b8fca7f]) for this project. If you
removed or renamed this service in your compose file, you can run this command with the
--remove-orphans flag to clean it up.
How is this tested?
[x] Manually
Seems to work fine in my local development environment, and doesn't change any of our build nor running code. In theory (!), this shouldn't cause any issues.
What type of PR is this?
Description
This is just a trivial quality of life improvement PR for Redash developers.
It adds the
--remove-orphans
option to themake up
docker compose commands, to automatically remove orphaned containers from previous runs.Without this option
make up
will commonly display a warning about orphaned containers:How is this tested?
Seems to work fine in my local development environment, and doesn't change any of our build nor running code. In theory (!), this shouldn't cause any issues.