Antoine Valette
03/07/2023, 4:18 PMDockerRunLauncher
with mounted volumes.
Is there any way to use relative host paths in the volumes similarly to what we can do with docker compose
?
Or build an absolute path from pwd
or an env var?
This is what I have currently in my dagster.yaml, which is not working.
run_launcher:
module: dagster_docker
class: DockerRunLauncher
config:
env_vars: [...]
networks: [...]
container_kwargs:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./dagster.yml:/etc/dagster/dagster.yaml:ro <- There's my problem: it's relative and produce an error asking for absolute.
chris
03/08/2023, 9:09 PM$(pwd)
as a workaroundAntoine Valette
03/10/2023, 2:45 PM$(pwd)
and it does not work, I resorted to using the default Run Launcher 🙂