docker run -it -p20180:80 -p 20181:8080 -p 9998:9998--name containerName image:tag 即在第一个-p之后加一个-p 写上要开放的端口即可