查看容器:
docker ps
查看目录:
docker exec -it recursing_blackwell ls /root
删除目录:
docker exec -it recursing_blackwell rm -rf /root/dataset
上传目录:
docker cp G:\dataset\low-resolution recursing_blackwell:/root/dataset
运行文件:
docker run -v G:/jittor/TsinghuaDogBaseline-main/TsinghuaDogBaseline-main:/root/mpy -w /root/mpy python:3.7.5 python main.py
docker与vm转换:
# 关闭可以用vm
bcdedit /set hypervisorlaunchtype off
# 打开可以用docker
bcdedit /set hypervisorlaunchtype auto