на mac os контейнер поднимается с внутренним портом 8080 как и написано в доке
root@582c92c3d3a6:/# netstat -tpln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0
0.0.0.0:8080 0.0.0.0:* LISTEN -
tcp 0 0
127.0.0.1:33713 0.0.0.0:* LISTEN -
tcp 0 0
127.0.0.11:45413 0.0.0.0:* LISTEN -
а в debian 9 поднимается с портом 8001
root@ae7a3c542570:/# netstat -tpln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0
127.0.0.11:38879 0.0.0.0:* LISTEN -
tcp 0 0
0.0.0.0:8001 0.0.0.0:* LISTEN -
tcp 0 0
127.0.0.1:39393 0.0.0.0:* LISTEN -