Fetch the logs of a service
docker service logs [OPTIONS] SERVICE
Name, shorthand | Default | Description |
---|---|---|
--details |
false |
Show extra details provided to logs |
--follow, -f |
false |
Follow log output |
--no-resolve |
false |
Do not map IDs to Names |
--since |
Show logs since timestamp | |
--tail |
all |
Number of lines to show from the end of the logs |
--timestamps, -t |
false |
Show timestamps |
Command | Description |
---|---|
docker service | Manage services |
Command | Description |
---|---|
docker service create | Create a new service |
docker service inspect | Display detailed information on one or more services |
docker service logs | Fetch the logs of a service |
docker service ls | List services |
docker service ps | List the tasks of one or more services |
docker service rm | Remove one or more services |
docker service scale | Scale one or multiple replicated services |
docker service update | Update a service |