<@ULVA73B9P> Can I mount a volume to a Docker cont...
# ask-marvin
n
@Marvin Can I mount a volume to a Docker container deployment instead of having the volume configuration on worker level?
m
It seems that mounting a volume directly to a Docker container deployment in Prefect is not explicitly documented. Typically, volume configurations are managed at the worker level. However, you might be able to achieve this by customizing your Dockerfile or using environment variables in your
prefect.yaml
file to manage deployment configurations. For more detailed guidance, you can explore the following resources: - Serving flows in a Docker container - Infrastructure concepts with prefect.yaml If you have a specific use case or configuration in mind, feel free to share more details, and I'll do my best to assist you further.