https://dagster.io/ logo
Title
s

Slackbot

04/19/2021, 1:48 PM
This message was deleted.
d

daniel

04/19/2021, 1:49 PM
Hi Ronak - would you mind sharing your workspace.yaml as well?
r

Ronak Jain

04/19/2021, 1:50 PM
ok
cc : @daniel
d

daniel

04/19/2021, 1:54 PM
It looks like it's unable to find pipeline6.yaml - is the commented out line in the Dockerfil that adds that file intended to be commented out?
if the repository depends on that file to work it needs to be accessible from within the Docker container
r

Ronak Jain

04/19/2021, 1:56 PM
Yah
Shall I need to change path or ?
cc: @Daniil
d

daniel

04/19/2021, 1:59 PM
I think we'd need to see your repository/pipeline and what path it's using to look for the file to evaluate that. (I think you cc'ed a different person with a similar name to mind, but if you meant to CC me, I already get notified when you comment 🙂 ) Does it work when you run the pipeline locally outside of Docker?
r

Ronak Jain

04/19/2021, 2:01 PM
Yes, I checked with only Docker, it was working without dagster.
d

daniel

04/19/2021, 2:03 PM
Could you share the pipeline code as well? Seems like that's the part where this is running into issues
when you say 'it was working without Dagster' - did you mean without Docker? I'm not sure what this code would look like without dagster
I think there's a missing "WORKDIR /Dagster_Scheduler_POC/app/" in your Dockerfile. You actually have repo.py and workspace.yaml in your container in two places - once at "/" (from the ADD line) and once at "/Dagster_Scheduler_POC/app/" (from the COPY line) - you don't need both the ADD and the COPY. Then when you run the container, it's running at "/" because the WORKDIR wasn't set. You should be able to remove the line with ADD and add a WORKDIR line and then I would expect it to work.
r

Ronak Jain

04/19/2021, 4:15 PM
@daniel It's working, but not getting Pipeline on browser.
d

daniel

04/19/2021, 5:45 PM
when you say "not getting Pipeline on browser" - can you give some more details? what's the expected behavior and what are you seeing instead?
r

Ronak Jain

04/19/2021, 5:46 PM
It's not looking basically, Dagster localhost server is not working for me
d

daniel

04/19/2021, 5:47 PM
What command are you running to launch dagit?
r

Ronak Jain

04/19/2021, 5:47 PM
ENTRYPOINT ["dagit", "-h", "127.0.0.1", "-p", "3000"]
d

daniel

04/19/2021, 5:48 PM
So the webpage isn't loading at all? What does it say in the browser?
r

Ronak Jain

04/19/2021, 5:48 PM
Yes, The webpage isn't loading at all..
p

prha

04/19/2021, 6:06 PM
can you list the output when you run
docker container ls
? You’re running dagit on port 3000 inside your container, but you need to map that to a reachable port on your host machine
r

Ronak Jain

04/19/2021, 6:09 PM
Thanks @daniel & @prha !! It's very helpful for me 😊