mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 21:04:35 +08:00
Suggest mounting into home. Note non-root user. (#12987)
This commit is contained in:
@@ -250,9 +250,11 @@ worker_nodes:
|
||||
# Files or directories to copy to the head and worker nodes. The format is a
|
||||
# dictionary from REMOTE_PATH: LOCAL_PATH, e.g.
|
||||
file_mounts: {
|
||||
# "/path1/on/remote/machine": "/path1/on/local/machine",
|
||||
# "/path2/on/remote/machine": "/path2/on/local/machine",
|
||||
# "~/path1/on/remote/machine": "/path1/on/local/machine",
|
||||
# "~/path2/on/remote/machine": "/path2/on/local/machine",
|
||||
}
|
||||
# Note that the container images in this example have a non-root user.
|
||||
# To avoid permissions issues, we recommend mounting into a subdirectory of home (~).
|
||||
|
||||
# Files or directories to copy from the head node to the worker nodes. The format is a
|
||||
# list of paths. The same path on the head node will be copied to the worker node.
|
||||
|
||||
@@ -250,9 +250,11 @@ worker_nodes:
|
||||
# Files or directories to copy to the head and worker nodes. The format is a
|
||||
# dictionary from REMOTE_PATH: LOCAL_PATH, e.g.
|
||||
file_mounts: {
|
||||
# "/path1/on/remote/machine": "/path1/on/local/machine",
|
||||
# "/path2/on/remote/machine": "/path2/on/local/machine",
|
||||
# "~/path1/on/remote/machine": "/path1/on/local/machine",
|
||||
# "~/path2/on/remote/machine": "/path2/on/local/machine",
|
||||
}
|
||||
# Note that the container images in this example have a non-root user.
|
||||
# To avoid permissions issues, we recommend mounting into a subdirectory of home (~).
|
||||
|
||||
# Files or directories to copy from the head node to the worker nodes. The format is a
|
||||
# list of paths. The same path on the head node will be copied to the worker node.
|
||||
|
||||
@@ -286,9 +286,11 @@ worker_nodes:
|
||||
# Files or directories to copy to the head and worker nodes. The format is a
|
||||
# dictionary from REMOTE_PATH: LOCAL_PATH, e.g.
|
||||
file_mounts: {
|
||||
# "/path1/on/remote/machine": "/path1/on/local/machine",
|
||||
# "/path2/on/remote/machine": "/path2/on/local/machine",
|
||||
# "~/path1/on/remote/machine": "/path1/on/local/machine",
|
||||
# "~/path2/on/remote/machine": "/path2/on/local/machine",
|
||||
}
|
||||
# Note that the container images in this example have a non-root user.
|
||||
# To avoid permissions issues, we recommend mounting into a subdirectory of home (~).
|
||||
|
||||
# List of commands that will be run before `setup_commands`. If docker is
|
||||
# enabled, these commands will run outside the container and before docker
|
||||
|
||||
Reference in New Issue
Block a user