In order to get the logs with docker logs the -t option needs to be used.
docker logs
-t
docker run -t -p 8080:8080 olamy/archiva
docker build -t olamy/archiva .