Update troubleshooting.md

This commit is contained in:
Alex Ellis 2017-09-25 09:28:33 +01:00 committed by GitHub
parent 7b300ce1f9
commit 0f695fecb0

View File

@ -20,13 +20,13 @@ $ docker service ls
### Find a function's logs ### Find a function's logs
``` ```
$ docker swarm logs --tail 100 <function> $ docker service logs --tail 100 <function>
``` ```
### Find out if a function failed to start ### Find out if a function failed to start
``` ```
$ docker swarm ps --no-trunc=true <function> $ docker service ps --no-trunc=true <function>
``` ```
### Stop and remove OpenFaaS ### Stop and remove OpenFaaS