Skip to content

Invalid mount path when executing run_prepare.sh #4

@kirk86

Description

@kirk86

Executing the following commands:

docker run --gpus all --rm --shm-size=64g \
-v ~/data:/data -v $(pwd)"/scripts":/scripts nvcr.io/nvidia/${NAME_NGC} \
/bin/bash -c "cp -r /scripts/* /workspace;  ./run_prepare.sh"

Provides the following error:

docker: Error response from daemon: invalid volume specification: '~/data:data': invalid mount config for type "volume": invalid mount path: 'data' mount path must be absolute

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions