我安装的是pytorch的镜像,如果我想pytorch的文件存储到主机上,他的containerPath怎么指定呢
您好,--name xxx是设置container的名字,如果去掉--name xxx,会随机生成一个容器名字。-v hostPath:containerPath 的意思是挂载docker外的文件(路径为hostPath)到docker内部(路径为containerPath),两个路径都是自己指定的。
请登录后评论