-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When you pass uv run as the command in compose.yml, you can't gracefully stop the process by pressing Ctrl+C. I'm guessing it's because it's not passing sigterm to its children.
Steps to reproduce:
- Clone https://github.com/astral-sh/uv-docker-example
- Open
compose.ymland addcommand: uv run fastapi dev --host 0.0.0.0 src/uv_docker_example docker compose builddocker compose up- Press Ctrl+C
You will have to wait 10 seconds until docker forcibly sigkills the process.
Then:
- remove
uv runfrom the command:command: fastapi dev --host 0.0.0.0 src/uv_docker_example docker compose up- Press Ctrl+C
Compose will shutdown the process almost instantaneously.
uv 0.3.3 (according to uv-docker-example's Dockerfile)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working