In CoreOS, Docker cannot map out ports using-p.

  docker, question

In CoreOS, use thedocker run -d -P xxx /run.shRunning the container, 3000 ports are opened in the container, but there is no mapping on the host.Dockinspect container nameSee the port mapping list is also empty, but usedocker run -d -p xxx /run.shYou can map the ports. That is,-PNo, on CentOS7, is this a BUG in CoreOS-!

I have been using Centos7.2 all the time and have not encountered any problems raised by the landlord.