Docker Community Forums

Share and learn in the Docker community.

[Docker swarm] Access services

docker

(Kpjkpj) #1

Hello,

I am currently trying to figure out whether there is an easy/preferred way of accessing “stdout” of a service started in a docker swarm (similar to how ‘docker logs’ works for containers).
More generally, are there good methods of accessing files created during the run of such services?

So far I played around with ‘docker service inspect’ and friends, but couldn’t really find anything useful.
Similar questions seemed to appear e.g. here, but didn’t seem to have any conclusion.

Thanks a lot for any help regarding this topic :slight_smile: