yael-vinker / CLIPasso

Other
850 stars 91 forks source link

how to mount file while running docker? #27

Open y6216886 opened 1 year ago

y6216886 commented 1 year ago

using the recommended command docker run --name clipsketch -it yaelvinker/clipasso_docker /bin/bash won't mount files from a local path into the path of a docker image. But I need the mount path in order to update my files.

In other word, how to realize the docker run -v path1:path2 xxx

y6216886 commented 1 year ago

sudo docker run --gpus all --ipc=host -v {your_path}:/home/CLIPasso --rm -it yaelvinker/clipasso_docker /bin/bash Just use this