I am running several containers using docker-compose. I can see application logs with command docker-compose logs. However I would like to access r
docker-compose
docker-compose logs
To see how much space each container's log is taking up, use this:
docker ps -qa | xargs docker inspect --format='{{.LogPath}}' | xargs ls -hl
(you might need a sudo before ls).
sudo
ls