直接使用cp命令:下载:docker cp 我的容器:/文件.txt 文件.txt上传:docker cp 文件.txt 我的容器:/文件.txt参考手册:https://docs.docker.com/engine/reference/commandline/cp/