It's not possible to pass custom
docker run arguments or change the entry point.
A fundamental design concept of Valohai is that whatever happens inside the container is up to the user, and Valohai handles everything that happens outside of the container.
docker run with a set of additional configuration options that make Valohai work the way it works. Most of this configuration is dependent on the machine, its resource availability, and depending what kind of execution/task/pipeline it is.
- Most of these configurations are quite essential to Valohai, and there are some optional settings like when to use a temp disk if available, etc., and a set of environment variables.
- There are also a set of additional parameters if we need to launch a virtual display with the container etc.
- If we allow users to pass their own
docker runwe'd have to do merging between Valohai arguments and then whatever the user wants to do — and make sure we don't have conflicts etc.
You can pass parameters to your code, use custom Docker images, mount directories, etc. using Valohai.
Reach out to our support if you have any other cases where you'd need to pass customer docker run arguments.