首先把文件上传到服务器上 上传目录如下 /home/project/amq 启动容器 docker run -id --name=amq -v /home/project/amq:/home python:3.7