Azure / Azure/azureml-examples

Clarify use of shared_volumes in DockerConfiguration

Open
#1,893 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
2k
Forks
1.7k
Avg merge
18h 18m
Merged PRs (30d)
2

Description

### Describe your suggestion

In the [DockerConfiguration ](https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.runconfig.dockerconfiguration?view=azure-ml-py#constructor) documentation, I see the following:
```
DockerConfiguration(use_docker=False, shared_volumes=True, arguments=[], shm_size='2g')
```
I would like some example of the use of the `shared_volumes`. It means that it supports mounting volumes locally to the AML run instance job? With the arguments like `['-v', '/localstuff:/containerstuff']`?

Any useful example of the use of shared volumes would be useful. Thanks!

### Additional details

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.