使用docker run -p 127.0.0.1:端口:docker容器端口 -it 容器名称 /bin/sh例: docker run -p 127.0.0.1:3030:3030 -it trade /bin/sh