Dagster docker run launches for truly seperate runtime instance

18-03-2026

  • the gRPC server is meant to serve definitions, but the run execution still depends on which run launcher the daemon uses:
    • DefaultRunLauncher — sends StartRun RPC to the gRPC server, which then executes the run in its own process. This requires instance storage access.
    • DockerRunLauncher / K8sRunLauncher — spins up a new container to execute the run. The gRPC server only serves definitions.

Fix:

  • Change the daemon’s run launcher to DockerRunLauncher — then your container stays truly standalone (serves definitions only), and runs execute in fresh containers. This is the “proper” architecture for containerised code locations.

Links:

IO managers: