我可以在Dockerfile中指定端口范围
EXPOSE 7000-8000
并且在运行容器时将所有这些暴露的端口绑定到主机上的相同端口?
docker run -p 7000-8000:7000-8000
docker dockerfile
docker ×1
dockerfile ×1