Leo Kacenjar
03/28/2022, 9:47 PMCMD
in my dockerfile and it seems to not be executing. That makes me think it is being overwritten. Maybe I have to provide an ENTRYPOINT
intead?Kevin Kho
03/28/2022, 9:49 PMprefect execute flow-run
. I think you want an entrypoint though.Leo Kacenjar
03/28/2022, 9:50 PMKevin Kho
03/28/2022, 9:51 PMLeo Kacenjar
03/28/2022, 10:05 PMENTRYPOINT sudo service mariadb start && bash
CMD
or ENTRYPOINT
keyword.Kevin Kho
03/28/2022, 10:33 PMLeo Kacenjar
03/28/2022, 10:34 PMAnna Geller
03/29/2022, 10:13 AMsudo
, you’re accessing a different Prefect home directory with different settings
2. Your Prefect Dockerfile should ideally use a Prefect base image and keep the entrypoint from there. You should run your maria DB service in a separate container. If you need an example
3. The Docker agent itself should ideally run as a subprocess, rather than a container