Skip to content

Commit 218e8e7

Browse files
authored
Update README.md
1 parent 27d5852 commit 218e8e7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,21 @@
3737
- Responce:
3838
- Http responce generated by code if execution is successful
3939
- `{ rejected: any; }` - on error
40+
41+
## Diagnostics
42+
43+
### Logs
44+
45+
#### Get container logs to console:
46+
47+
```bash
48+
docker logs $(docker ps -a -q --filter "ancestor=deepf/js-docker-isolation-provider:main")
49+
```
50+
51+
#### Get container logs to file:
52+
53+
Sometimes console cannot output the full logs so it might be helpful to store the entire container's logs as file. It can be done like this:
54+
55+
```bash
56+
docker logs $(docker ps -a -q --filter "ancestor=deepf/js-docker-isolation-provider:main") > log.txt
57+
```

0 commit comments

Comments
 (0)