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?