3 ms·
> I could get the logs for just that one service with docker compose logs --follow myservice but that dies everytime the service dies so I'd need to run that co
by DougBTX 5y ago
> I could get the logs for just that one service with docker compose logs --follow myservice but that dies everytime the service dies so I'd need to run that command every time I restart the service
Why is that? Any chance of a bugfix?
- kobalsky 5y agoWhat I did was: while true; do docker-compose logs --tail=100 -f myservice; sleep 1; done
- status_quo69 5y agoYou can also achieve this with watch
- louis-lau 5y agoYou would have to ask the folks behind docker-compose.