Faheem Khan07/31/2022, 3:39 AM
how do I expose the Port`8787` on docker-custom-image. I have configured volumes, networks on Docker Container block but didn't find any option about ports. I want to access Dask dashboard when I run flows from UI which spin up a separate container of my docker-custom-image.
prefect deployment build flows/hello.py:hello --name docker-custom --tag dev -sb s3/dev -ib docker-container/docker-custom-image
Anna Geller07/31/2022, 9:04 AM
Faheem Khan07/31/2022, 10:02 AM
. temproary lacal dask cluster is launched inside the container by default.
Anna Geller07/31/2022, 1:27 PM
Khuyen Tran07/31/2022, 4:24 PM
so that he can access the UI outside of the container
docker container run -p 8787:8787
Faheem Khan08/01/2022, 2:24 AM
this flow will run by default temporary dask cluster inside the docker container which is started by the flow from UI so I can't expose the port.