Skip to content

[BUG] docker compose up with --wait and a provider exits as soon as provider is done #12953

Closed
@silvin-lubecki

Description

@silvin-lubecki

Description

I would expect all the services to be up and running before exiting.

Steps To Reproduce

Use the following compose file:

services:
  docker-model-runner:
    provider:
      type: model
      options:
        model: ai/smollm2:135M-Q4_K_M

  backend:
    image: nginx
    depends_on:
      - docker-model-runner

and then docker compose up --wait: the compose command will exit almost immediately, before the actual backend service is up and running.

Compose Version


Docker Environment


Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions