File tree 4 files changed +20
-3
lines changed
4 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ in your app's Docker image:
23
23
24
24
<Step >
25
25
Add the following lines to your service's definition in your ` compose.yaml `
26
- file, and then start your app as you normally would :
26
+ file:
27
27
28
28
``` yaml
29
29
cap_add :
@@ -32,11 +32,24 @@ cap_add:
32
32
33
33
</Step>
34
34
35
+ <Step>
36
+ Start your app as you normally would:
37
+
38
+ <Expandable title="example output">
39
+ <img className="rounded-xl" src="/docker-compose-link.png" />
40
+ </Expandable>
41
+ </Step>
42
+
35
43
<Step>
36
44
That's it! Open the ` subt.link` URL in your browser to see your app's requests
37
45
show up in real time :
38
46
39
47
<img className="rounded-xl" src="/subt-link-example.png" />
40
48
49
+ <Info>
50
+ It's possible that the `subt.link` URL is printed from within a container. Be
51
+ sure to check
52
+ </Info>
53
+
41
54
</Step>
42
55
</Steps>
Original file line number Diff line number Diff line change @@ -25,10 +25,14 @@ in your app's Docker image:
25
25
Run your Docker container as you normally would, but add ` --cap-add=SYS_PTRACE ` :
26
26
27
27
``` diff
28
- - docker run -dt -p 3000:3000 node-app
29
- + docker run -dt -p 3000:3000 --cap-add=SYS_PTRACE node-app
28
+ - docker run -t -p 3000:3000 node-app
29
+ + docker run -t -p 3000:3000 --cap-add=SYS_PTRACE node-app
30
30
```
31
31
32
+ <Expandable title = " example output" >
33
+ <img className = " rounded-xl" src = " /docker-link.png" />
34
+ </Expandable >
35
+
32
36
</Step >
33
37
34
38
<Step >
You can’t perform that action at this time.
0 commit comments