Typo --ti and missing my_strace_docker_image
Signed-off-by: Leo Gallucci <leo.gallucci@zalando.de>
(cherry picked from commit a5b69faafb
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
ec8c61ee22
commit
a43b40b0d4
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ $ docker run --name my-redis -d redis
|
|||
Debug the redis container by running another container that has strace in it:
|
||||
|
||||
```bash
|
||||
$ docker run --it --pid=container:my-redis bash
|
||||
$ docker run -it --pid=container:my-redis my_strace_docker_image bash
|
||||
$ strace -p 1
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue