Why does docker logs not have log output?

  docker, question

Description of phenomena

After the spring boot application is started using the docker container, there is no log output using docker logs, and docker attach to the container can see the log.

Spring boot log output to standard output
The startup command is as follows:
docker run -d -t -v app.jar:/app.jar -p 8080 docker.io/java:openjdk-8u111-jre-alpine java -jar /app.jar
Is there a great god to explain? I read some blog posts of docker logs, but couldn’t find a suitable solution.

RUN ln -sf /dev/stdout /var/log/some-log.log