Does Dokcer launch the springboot project without showing port mappings?

Hello, Daniel, dockerfile written by rookie Xiaobai

FROM java:8
VOLUME /tmp
ADD newkuaidi.jar app.jar
RUN bash -c "touch /app.jar"
EXPOSE 8090
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

then docker build-t test.
finally launch docker run-- net=host-p 8090t test. 8090 test
found that PORTS here is empty and my project is started normally. What is the reason for this?

Nov.13,2021

-- net=host represents the public network between the container and the host, and port mapping is not required at this time. You can first learn about the four network modes of docker

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e34079-267be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e34079-267be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?