Skip to content

Volume creationΒ #7

@eywalker

Description

@eywalker

Because nvidia-docker-compose bypasses the use of nvidia-docker binary executable, it currently does not create driver volume like nvidia_driver_370.28 when it's not present. This means that if you run nvidia-docker-compose without having ever run nvidia-docker, you are likely to get error message like:

ERROR: Volume nvidia_driver_370.28 declared as external, but could not be found. Please create the volume manually using `docker volume create --name=nvidia_driver_370.28` and try again.

You can easily fix this issue by running something via nvidia-docker (i.e. [sudo] nvidia-docker run nvidia/cuda nvidia-smi) once to get the appropriate Docker volume created. However this is rather inconvenient and can be confusing to the user. It would be best if nvidia-docker-compose will invoke the appropriate volume creation command at the time of its invocation to ensure that necessary volumes are present.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions