I'm having trouble getting the example multi-conta...
# ask-community
d
I'm having trouble getting the example multi-container docker deployment (https://github.com/dagster-io/dagster/tree/1.3.2/examples/deploy_docker), with what I think is a simple adaptation (removing the custom
docker_example_network
docker network), to work. I get
Copy code
[DockerRunLauncher] Launching run in a new container ... with image dagster_example_user_code_image
In Dagit, but that's it. My
dagster.yaml
has
Copy code
run_launcher:
  module: dagster_docker
  class: DockerRunLauncher
  config:
    container_kwargs:
      volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /tmp/io_manager_storage:/tmp/io_manager_storage
    env_vars:
    - DAGSTER_POSTGRES_USER
    - DAGSTER_POSTGRES_PASSWORD
    - DAGSTER_POSTGRES_DB
run_monitoring:
  enabled: true
  start_timeout_seconds: 30
so that I get a
Run timed out due to taking longer than 30 seconds to start.
run failure right away (the example repo is simple and should take only a few seconds to start I assume). How can I troubleshoot this? The docker container logs of the dagit and daemon services are uninformative.
update: I looked into the logs of the launched container and saw that it indeed was a docker networking issue. I set up a bridge network for the dagster services, including dagit also on another network I needed for https ingress via traefik, and I'm good now.
t
woo! glad you figured it out