https://dagster.io/ logo
#ask-community
Title
# ask-community
a

Andrew Maguire

08/02/2023, 2:42 PM
i am trying to dockerize this dagster app i have been working on https://github.com/andrewm4894/anomstack im trying to follow guide here: https://docs.dagster.io/deployment/guides/docker i am seeing my jobs all loaded in some looks to be working - however i am seeing errors that suggest me env vars from my .env file maybe are not being found for some reason
but feel like maybe i am missing something
i see some env vars in here too but not sure https://github.com/andrewm4894/anomstack/blob/main/dagster.yaml
or is there some easier or more "minimal" way to dockerize this app to get going as simple as possible
idea being users could just run it themselves easily via docker
y

Yepher

08/02/2023, 2:48 PM
Well, for one thing I see
dagit
in your docker compose but it is now called
dagster-webserver
e

Edo

08/02/2023, 2:49 PM
maybe try to add the remaining env to run_launcher
a

Andrew Maguire

08/02/2023, 2:52 PM
yep that seems to have fixed it - thanks!
🌈 1
(just need get my gcp creds into it now - but think thats general enough docker stuff i should be able to figure out)
Well, for one thing I see
dagit
in your docker compose but it is now called
dagster-webserver
that was something i added trying to fix things - will try remove
i remove dagit and now get
Copy code
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "dagit": executable file not found in $PATH: unknown
something seems to be looking for it
7 Views