If your in docker swarm and you want to see log data of a specific service you can use
It sometimes has unexpected behaviours and does not print logs. Rather than
#docker #swarm #since #tail #log
--since as below:docker service logs project_redis --since "1m" -f
It sometimes has unexpected behaviours and does not print logs. Rather than
--since you can use tail it is better in case you want to see recent logs:docker service logs project_redis --tail 1
#docker #swarm #since #tail #log