As exposed port is an integer there is co option for port binding like: 8080-8090:8080-8090. Docker supports such binding and there was the issue created in the past (#556 ) to fix it. The solution is not full. Binding support port range but ExposedPort does not.