docker compose run --rm web python manage.py migrate
Category: Docker
docker compose run --rm web python manage.py migrate
Run a one-off command in a new container for a service, then remove it
Creates a temporary container for the web service, runs a one-off command, then deletes the container.